You are on page 1of 66



Master of Technology
Digital Signal Processing

Under the guidance of


Department of Electronics & Communication Engineering
National Institute of Technology


National Institute of Technology
This is to certify that the Thesis Report entitled “DSP Implementation of OFDM
Acoustic Modem” submitted by Mr. Madhu.A (20607021) in partial fulfillment of the
requirements for the award of Master of Technology degree in Electronics and
Communication Engineering with specialization in “Digital Signal Processing” during
session 2007-2008 at National Institute Of Technology, Rourkela (Deemed University)
and is an authentic work by him under my supervision and guidance.
To the best of my knowledge, the matter embodied in the thesis has not been submitted to
any other university/institute for the award of any Degree or Diploma.

Prof. G.S.RATH
Dept. of E.C.E
National Institute of Technology



First of all, I would like to express my deep sense of respect and gratitude towards
my advisor and guide Prof. G.S.Rath, who has been the guiding force behind this work.
I am greatly indebted to him for his constant encouragement, invaluable advice and for
propelling me further in every aspect of my academic life. His presence and optimism
have provided an invaluable influence on my career and outlook for the future. I
consider it my good fortune to have got an opportunity to work with such a wonderful
Next, I want to express my respects to Prof. S.K.Patra, Prof.G.Panda, Prof.
K.K. Mahapatra, and Dr. S. Meher for teaching me and also helping me how to learn.
They have been great sources of inspiration to me and I thank them from the bottom of
my heart.
I would like to thank all faculty members and staff of the Department of
Electronics and Communication Engineering, N.I.T. Rourkela for their generous help in
various ways for the completion of this thesis.
I would also like to mention the name of Jithendra Kumar Das (Ph.D) for
helping me a lot during the thesis period.
I would like to thank all my friends and especially my classmates for all the
thoughtful and mind stimulating discussions we had, which prompted us to think beyond
the obvious. I’ve enjoyed their companionship so much during my stay at NIT, Rourkela.
I am especially indebted to my parents for their love, sacrifice, and support. They
are my first teachers after I came to this world and have set great examples for me about
how to live, study, and work.

Roll No: 20607021
Dept of ECE, NIT, Rourkela.

3.5 Thesis outline 8 Chapter2 Under Water Sensor Networks 2.3.3 Background literature survey 3 1. Distinctions between mobile UWSNs and ground-based networks 13 2.3 Frequency division multiplexing modulation system 17 4 .2.CONTENTS Acknowledgements i Contents ii Abstract v List of figures vi List of tables viii Abbreviations ix Nomenclature xi Chapter1 introduction 1.2 Digital video broadcasting 5 1.1 Introduction 16 3.4 Under Water Sensor Networks 6 1.1 Digital audio broadcasting 4 1.2 The single carrier modulation system 16 3.11a 6 1. Underwater acoustic channels 12 2.1 Introduction 2 1. Current underwater network systems 14 Chapter 3 OFDM 3.1 Introduction 10 Thesis contribution 7 1.2.2 Characterstics of the Enviornment 11 of Acoustic Communications 11 2.1.2 Motivation 3 1.3 HperLAN2 and IEEE 802.4.

10.3 Preamable 26 3.6.1 Introduction 45 5 .4 Intrasymbol interference 31 3.3 Sub carrier Modulation 22 3.3 Intersymbol interference 30 3.6.2 Disadvantages 33 Chapter 4 Digital Signal Processing 4.6 OFDM generation and reception 20 3.2 Channel Noise 42 4.9 RF modulation 28 Data Interleaving 21 3.8 Frequency to Time domain conversion 27 Protection against time offset 29 3.1 Advantages 33 3.10 Guard period 28 3.1 introduction to DSP 35 4.4.1 OFDM Transmitter 26 3.6.1 TMS320C6713 DSP Description 38 4.7 OFDM symbol 25 Tramsmitter Design 41 4.2 Guard period overhead and subcarrier spacing 30 DSP Implementation 40 4.7.2 How DSP’s different fromohter Microprocessors 36 4.4.5 Mathematical analysis 19 3.3 Introduction to the TMS320C6000 Platform of DSP’s 37 4.2 Pilot Insertion 26 3.3 Receiver Design 42 Chapter 5 Simulation results & discussions 5.4 Orthogonality and OFDM 18 3.11 Advantages and disadvantages of OFDM as compared to single carrier mod 33 3.1 Error correction codes 21 3.

4 Performance tests 51 5.3 OFDM Frame synchronization 46 5.5.2 simulation model 45 5.5 conclusion 53 References 54 6 .

Digital Audio Broadcasting (DAB).11 (wireless networking standard). Some examples of applications using OFDM include Digital subscriber line (DSL).2 seconds and the processing time of one OFDM block to 2. Processing power has increased to a point where orthogonal frequency division multiplexing (OFDM) has become feasible and economical. This experimentation provides guidelines on our future work to reduce the per-block processing time to be less than the block duration of 0.Exponential Multipath channel and Carrier frequency offset conditions for different modulation schemes like binary phase shift keying (BPSK). 5] on a TMS320C6713 DSP board. The performance of OFDM was assessed by using computer simulations performed using Matlab7. In this Thesis in first phase . IEEE 802.we analyzes the factor that affects the OFDM performance.OFDM is a strong candidate and has been suggested or standardized in high speed communication systems.ABSTRACT The success of multicarrier modulation in the form of OFDM in radio channels illuminates a path one could take towards high-rate underwater acoustic communications.2 .7235 seconds on a DSP processor at 225 MHz. 16-Quadrature amplitude modulation (16-QAM). Based on the workload analysis.23 seconds for real time operations 7 . we tune the algorithms and optimize the code to substantially reduce the synchronization time to 0. and recently there are intensive investigations on underwater OFDM. 64-Quadrature amplitude modulation (64-QAM) which are used for achieving high data was simulated under Additive white Gaussian noise (AWGN) . We analyze the workload and identify the most timeconsuming operations. Quadrature phase shift keying (QPSK). Since many wireless communication systems being developed use OFDM. In second phase we implement the acoustic OFDM transmitter and receiver design of [4. High definition television (HDTV) broadcasting. it is a worthwhile research topic.

8 Sub carrier spacing 27 3. 16-QAM. Convolutional encoder 23 3.2 Inter Frame Interference 48 5. 64-QAM 52 8 .1 Scenario of the mobile UWSN architecture 12 3.8 RF modulation of complex base band OFDM signal.5. 16-QAM 26 3. The green symbol was transmitted first.5 ASK modulation 24 3.4.4 Detail of frame synchronization technique under SNR=10.5 Probability of synchronization failure curves under different channels 51 5.3 Detail of frame Synchronization Technique 50 5.6 Recovered speech signal 45 5.2 TMS320c6000 block diagram 40 4.6 FSK modulation 25 3.7 IQ modulation constellation.1 Single carrier spectrum 17 3.11 Example of intersymbol interference. using analog techniques 29 3. QPSK.1 simulation model of OFDM 47 5. 32 4.7 OFDM generation.LIST OF FIGURES 2.7 BER vs.1 Typical components of DSP system . Stored speech signal in Buffer 44 4.3 Architecture os TMS320c6713DSK 41 4. 37 4.delay spread=50ms 51 5. followed by the blue symbol. SNR plot for OFDM using BPSK.2 FDM signal spectrum 18 3.10 Addition of a guard period to an OFDM signal 30 3. Variation of MSE Vs SNR under different channels 52 5.4Implemented on TMS320c6713DSP using TMDSDSK6713 Evaluation Board 42 4. IFFT stage 28 3.3 Block diagram of a basic OFDM transceiver 22 3.

2 Execution Time(in sec) Measured in CCS profiler 53 ABBREVIATIONS AWGN additive White Gaussian Noise ADSL asymmetric digital subscriber line BPSK binary phase shift keying CCK complementary code keying CCS code composer studio CDMA code division multiple access DSP digital signal processors DAB digital audio broadcasting DVB digital video broadcasting DFT discrete Fourier transform DSSS direct sequence spread spectrum ETSI European Telecommunications Standards Institute FFT fast Fourier transform FDM frequency division multiplexing FEC forward error correction HDTV high definition television IEEE Institute of Electrical and Electronics Engineers 9 .LIST OF TABLES 5.1 OFDM simulation parameters 48 5.

IFFT inverse Fourier transform IDFT inverse discrete Fourier transform ISI inter symbol interference ICI inter carrier interference LAN local area network NTSC National Television Systems Committee OFDM orthogonal frequency division multiplexing QPSK quadrature phase shift keying QAM quadrature amplitude modulation SNR signal to noise ratio TDM time division multiplexing TDMA time division multiple access UHF ultra high frequency VLSI very large scale integration WLAN wireless local area networks 10 .

NOMENCLATURE A C (t) Amplitude of the carrier ωc (t) Carrier frequency φc (t) Phase of the carrier ss (t) Complex signal of OFDM Fc Carrier frequency FS Sampling rate TS Length of the symbol in samples TG Length of the guard period in samples TFFT FFT period in samples Lc Time of the channel in samples Lp Cyclic prefix length in samples x (n) original signal X (k) Fourier transform of x (n) WNkn Twiddle factors Δf Subcarrier spacing NFFT size of the FFT f1 (n) even numbered samples f2 (n) odd numbered samples F1 (k) N/2-point DFT of f1 (n) F2 (k) N/2-point DFT of f2 (n) 11 .


However.1 INTRODUCTION The ever increasing demand for very high rate wireless data transmission calls for technologies which make use of the available electromagnetic resource in the most intelligent way. In order to avoid a large number of modulators and filters at the transmitter and complementary filters and demodulators at the receiver. in software on VLSI (very large scale integration) processors. and to generate the signal using the inverse Fourier transform is the key to its current popularity. is operating in the unlicensed bands and is also being considered as a serious candidate for fourth generation cellular systems. These objectives are often conflicting. closely spaced in the frequency domain. range. OFDM transmits a large number of narrowband carriers. Currently. OFDM for wireless LANs is being used every where now. and implementation complexity. This chapter begins with an exposition of the principle motivation behind the work undertaken in this thesis. such as fast Fourier transform (FFT). The Internet revolution has created the need for wireless technologies that can deliver data at high speeds in a spectrally efficient manner.The main reason that the OFDM technique has taken a long time to become a prominence has been practical.OFDM is currently being used for digital audio and video broadcasting. The hardware solution. which makes use of multiple modulators and demodulators. robustness against multipath propagation. Although the original proposals were made a long time ago. and even harder to receive and demodulate the signal. Following this section 1. it is desirable to be able to use modern digital signal processing techniques.1. supporting such high data rates with sufficient robustness to radio channel impairments requires careful selection of modulation techniques.3 provides literature survey on 13 . it has taken some time for technology to catch up. the most suitable choice appears to be OFDM (Orthogonal Frequency Division Multiplexing). It has been difficult to generate such a signal. power consumption. Key objectives are spectrum efficiency (bits per second per Hertz). was somewhat impractical for use in the civil systems. The ability to define the signal in the frequency domain. so techniques and implementations are sought which offer the best possible tradeoff between them.

1. First.11a. To achieve high data rates OFDM is used in wireless LAN standards like IEEE 802. even in multipath environments. The motivation for using OFDM techniques over TDMA techniques is twofold. since the symbol rate of each channel is high. a guard interval using cyclic prefix is inserted to avoid the intersymbol interference and the intercarrier interference. thus the resulting symbol rate is low. The key component in an OFDM transmitter is an inverse fast Fourier transform (IFFT) and in the receiver. high definition television (HDTV) and 4G systems.OFDM.2 MOTIVATION OFDM is the modulation technique used in many new and emerging broadband communication systems including wireless local area networks (WLANs). 1. This guard interval is required to be at least equal to. In addition. This efficiency is very low in the communication systems. The increasing computational power and performance capabilities of DSPs make them ideal for the practical implementation of OFDM functions. This method is very simple. Section 1. OFDM has the potential to surpass the capacity of CDMA systems and provide the wireless access method for 4G systems. TDMA limits the total number of users that can be sent efficiently over a channel. each carrier in an OFDM signal has a very narrow bandwidth (i. problems with multipath delay spread invariably occur. At the end. or longer than the maximum channel delay spread. which inhibit a long channel delay spread with a small number of sub-carriers such as the IEEE 14 .e. but it reduces the transmission efficiency. In a typical orthogonal frequency division multiplexing (OFDM) broadband wireless communication system. OFDM is a modulation scheme that allows digital data to be efficiently and reliably transmitted over a radio channel. as the delay spread must be very long to cause significant inter-symbol interference.4 discusses the contribution in this thesis. an FFT. 1kHz). section 1. IEEE 802. This results in the signal having a high degree of tolerance to multipath delay spread. In stark contrast.3 BACKGROUND LITERATURE SURVEY Orthogonal Frequency Division Multiplexing (OFDM) is an alternative wireless modulation technology to CDMA.5 presents thesis outline.11g.

by providing high quality digital audio and information services.3. It is only recently that the advances in integrated circuit technology have made the implementation of OFDM cost effective. It wasn’t until the late 1980’s that work began on the development of OFDM for commercial use. An inverse channel response filter is then used to recombine the blurred copies of the symbol bits.11a wireless LAN (WLAN). blurring the time domain signal. which are an efficient implementation of the DFT.K and Sweden in1995. DAB is a replacement for FM audio broadcasting. In 1966 Chang patented the structure of OFDM [2] and published [13] the concept of using orthogonal overlapping multi-tone signals for data communications. multipath is a major problem as it causes extensive ghosting of the transmission. This suggested that the easiest implementation of OFDM is with the use of Digital Signal Processing (DSP). eliminating the requirement for banks of analog subcarrier oscillators. with the introduction of Frequency Division Multiplexing (FDM) for data communications. Development of DAB started in 1987 and services began in U. The reliance on DSP prevented the wide spread use of OFDM during the early development of OFDM. The origins of OFDM development started in the late 1950’s [11]. This process uses adaptive filtering to approximate the impulse response of the radio channel. This presented an opportunity for an easy implementation of OFDM.1 Digital audio broadcasting DAB was the first commercial use of OFDM technology [5]. For single carrier transmissions the effects of ISI are normally mitigated using adaptive equalization. This process is however complex and 15 . This ghosting causes Inter-Symbol Interference (ISI). Broadcast systems operate with potentially very long transmission distances (20 100 km). As a result. OFDM was used for DAB due to its multipath tolerance. especially with the use of Fast Fourier Transforms (FFT).802. with the introduction of the Digital Audio Broadcasting (DAB) system. which can implement FFT algorithms. In 1971 Weinstein [14] introduced the idea of using a Discrete Fourier Transform (DFT) for implementation of the generation and reception of OFDM signals. 1.

as DVB provides a flexible transmission medium for delivery of video. OFDM was 16 . and QPSK allows for maximum energy efficiency [7]. with maximum protection. including satellite TV (DVB-S). The high tolerance to multipath makes OFDM more suited to high data transmissions in terrestrial environments than single carrier transmissions. This data payload allows multiple channels to be broadcast as part of the one transmission ensemble. This results in a low symbol rate reducing the amount of ISI. For telephone quality audio (24 kbps) up to 64 audio channels can be provided.slow due to the locking time of the adaptive equalizer. OFDM overcomes the effects of multipath by breaking the signal into many narrow bandwidth carriers. The data throughput of DAB varies from 0. The number of audio channels is variable depending on the quality of the audio and the amount of FEC used to protect the signal. For this reason. audio and data services [6]. Satellite broadcasts use a single carrier transmission. removing the effects of ISI for multipath signals delayed less than the guard period. cable systems (DVB-C) and terrestrial transmissions (DVB-T). It is an enhanced replacement of the analogue television broadcast standard. In addition to this. 1.6 . while for CD quality audio (256 kb/s). This transmission method is however unsuitable for terrestrial transmissions as multipath severely degrades the performance of high-speed single carrier transmissions. The physical layer of each of these standards is optimized for the transmission channel being used. Additionally it becomes increasing difficult to equalize signals that suffer ISI of more than a couple of symbol periods. DVB is a transmission scheme based on the MPEG-2 standard. which is optimized for this application as a single carrier allows for large Doppler shifts. a guard period is added to the start of each symbol. three channels are available. as a method for point to multipoint delivery of high quality compressed digital audio and video. with QPSK modulation.3.2 Digital video broadcasting The development of the Digital Video Broadcasting (DVB) standards was started in 1993. The DVB standards specify the delivery mechanism for a wide range of applications.1.8 Mbps depending on the amount of Forward Error Correction (FEC) applied.

The major difference between DAB and DVB-T is the larger bandwidth used and the use of higher modulation schemes to achieve a higher data throughput. ponds. The ideal vehicle for this type of extensive monitoring is a networked underwater wireless sensor distributed system.3. HiperLAN2 uses 48 data and 4 pilot subcarriers in a 16 MHz channel.3 Hiperlan2 and IEEE802. and protection from attacks. lakes.QAM. DVB-T allows for two transmission modes depending on the number of subcarriers used [8]. commercial exploitation.and reservoirs.11a has the same physical layer as HiperLAN2 with the main difference between the standard corresponding to the higher-level network protocols used.11a Development of the European Hiperlan standard was started in 1995. 17 .HiperLAN2 is used extensively as an example OFDM system in this thesis. Since the physical layer of HiperLAN2 is very similar to the IEEE802.3. The physical layer of the DVB-T transmission is similar to DAB. from BPSK up to 64-QAM. with the final standard of HiperLAN2 being defined in June 1999. in that the OFDM transmission uses a large number of subcarriers to mitigate the effects of multipath. IEEE802.) for scientific exploration. and a range of guard period lengths and coding rates. This allows the robustness of the transmission link to be traded at the expense of link capacity. depending on the link quality.4 Underwater Wireless Sensor Networks (UWSN) Recently.11a standard these examples are applicable to both standards. User allocation is achieved by using TDM. HiperLAN2 pushes the performance of WLAN systems. Forward Error Correction is used to compensate for frequency selective fading. with 2 MHz on either side of the signal to allow out of band roll off. there has been a growing interest in monitoring aqueous environments including oceans. 1. allowing a data rate of up to 54 Mbps [9]. and subcarriers are allocated using a range of modulation schemes. 1.used for the terrestrial transmission standard for DVB. rivers. 16-QAM (Quadrature Amplitude Modulation) and 64. etc. The DVB-T allows for three subcarrier modulation schemes: QPSK.

noncoherent frequency shift keying (FSK).11a/g/n). such as sound. researchers have long attempted to apply OFDM in underwater acoustic channels.referred to as the Underwater Wireless Sensor Network (UWSN). 1. Establishing effective communications among a distributed set of both stationary and mobile sensors is one key step toward UWSNs. One is the introduction of digital communication techniques.This poses great challenges for the channel equalizer. Due to its low equalization complexity in the presence of highly-dispersive channels. and thus the same physical underwater channel contains more channel taps in the baseband discretetime model (easily on the order of several hundreds of taps). wireless local area networks (IEEE 802. e. an undergraduate team at University of Connecticut 18 . including phase shift keying (PSK) and quadrature amplitude modulation (QAM) in early 1990s. underwater communications have to rely on other physical means. and the other is the application of coherent modulation. Since electromagnetic waves do not propagate well in underwater environments. Motivated by the success of OFDM in radio channels. Unlike the rapid growth of wireless networks over radio channels. and [3. The last two decades have witnessed only two fundamental advances in underwater acoustic communications. multicarrier modulation in the form of orthogonal frequency division multiplexing (OFDM) has prevailed in recent broadband wireless systems.g. Recently. to transmit signals . the symbol durations decrease. As the data rates increase. the development of underwater communication has been at a much slower pace. in the early 1980s. 4] on a pilot-tone based block-by-block receiver. including [2] on a low-complexity adaptive OFDM receiver. namely. we have seen intensive investigations on underwater OFDM. Motivated by this fact. Existing underwater coherent communication has mainly relied on serial single-carrier transmission and equalization techniques over the challenging underwater acoustic media .. Receiver complexity will prevent any substantial rate improvement with existing approaches.4 THESIS CONTRIBUTION Multicarrier modulation in the form of orthogonal frequency division multiplexing (OFDM) has been quite successful in broadband wireless communication over radio channels. As a senior design project. there is a recent re-emergence of interest in applying OFDM in underwater acoustic channels.

features of aquatic environment. This chapter ends up with the achievement of the thesis work. It also discusses the some of the applications of OFDM. We analyze the workload and identify the most time-consuming operations. it also discusses about the simulation results of OFDM Frame Synchronization and probability of error occurring under different channels.. 1. Chapter3 provides an introduction to OFDM in general and outlines some of the problems associated with it. and how it can be generated and received. in the first phase we simulated the OFDM transmission and reception algorithms of [3. Chapter2 describe the motivations. In this Dissertation. 4] in MATLAB 7. In the second phase we generated the “c” code to execute on a TI TMS320C6713 DSP board with a processor running at 225 MHz. and the open questions in mobile underwater sensor network design. It shows the results of bit error rate performance against signal to noise ratio for different modulation schemes used for the current design.5 THESIS OUTLINE Following this introduction chapter. and future directions of the work. It provides the OFDM system model used in the simulation. Chapter 4 starts with features of Digital Signal Processors especially TMS3206000 (TMS320c6713DSK) family device which we used for the current modem design. Chapter 5 provides the results obtained in this thesis. 19 . and their discussions. In-wired communications are successfully tested.2. It also looks at why OFDM is a robust modulation scheme and some of its advantages and disadvantages over single carrier modulation schemes. limitations of the work.has demonstrated multicarrier OFDM transmission and reception in air and in a water tank. 4] are implemented by Matlab programs in two laptops [5]. and also discusses the design parameters of Transmitter and Receiver. where the algorithms in [3.and compared the results. This chapter describes what OFDM is. the difficulties of underwater acoustic channels.


commercial exploitation. and failing tolerance. and high error rate. the sensor mobility has two major benefits: 1. since radio does not work well in underwater environments. By deploying scalable wireless sensor networks in 3-dimensional underwater space. Currently. thus provide 4D (space and time) environmental sampling. and attack protection. underwater control. A distributed underwater wireless sensor network (UWSN) is the ideal vehicle for this monitoring. Due to the unique features of large latency. underwater acoustic channels bring much defiance to the protocol design. monitoring. there has been a growing interest in monitoring underwater mediums for scientific exploration. the best parts of underwater nodes are mobile due to water currents. Furthermore.1. Mobile sensors injected in the current in relative large numbers can help to track changes in the water mass. low bandwidth.2. A scalable UWSN is a good solution for exploring the aquatic environments. Floating sensors can help to form dynamic monitoring coverage and increase system reusability. This mobility is another problem to consider in the system design. INTRODUCTION The earth is a water planet. In a mobile underwater sensor network. 2. Mobile UWSNs have to use acoustic communications. surveillance. The self-organizing network of mobile sensors produces better supports in sensing. each underwater sensor can monitor and find environmental events. scheduling. 21 . The aqueous systems are also dynamic and processes happen within the water mass as it disperses within the environment.

Their propagation attributes differ consistently. the communication range is reduced as compared to the terrestrial radio channel. according to the direction of the sound ray.2. In addition. acoustic links are classified as vertical and horizontal. and high and variable propagation delay. multi-path.1 Scenario of the mobile UWSN architecture 2. Now. especially with respect to time dispersion. In long-range systems and shortrange system these factors lead to low bit rates. All these aspects establish the temporal and spatial variability of the acoustic channel. M oreover. 22 .1. we analyze the factors that influence acoustic communications in order to state the challenges posed by the underwater channels for underwater sensor networking.2. 2.Fig. Basics of acoustic communications Underwater acoustic communications depend on path loss. Doppler spread.Underwater acoustic communication links can be classified depending on their range. multi-path spreads. Characteristics of the environment 2. noise. Therefore the available bandwidth of the underwater acoustic channel is severely limited and dependent on both range and frequency. and delay variance.

High delay and delay variance: • Delay: The propagation speed in the underwater acoustic channels is five orders of magnitude lower than in the radio channel. proves de camp i anàlisi de resultats en una xarxa de sensors channels may have extremely long multi-path spreads. The cylindrical spreading appears in water with depth less than 100m (shallow water) because acoustic signals propagate with a cylinder bounded by the surface and the sea floor. It increases with the propagation distance and is independent of frequency. This large propagation delay can reduce the throughput of the system considerably. • Ambient Noise: Is related to hydrodynamics.Path loss: • Attenuation: Is mainly caused by absorption due to conversion of acoustic energy into heat. 23 . When sea is deep enough the propagation range is not bounded so that spherical spreading applies. which increases with distance and frequency. while horizontal 4 Desenvolupament. and dispersion. Water depth is determinant in the attenuation. seismic and biological phenomena. There are two types of geometric spreading: spherical (Omni-directional point source). Vertical channels are characterized by little time dispersion. • Geometric Spreading: This refers to the spreading of sound energy as a result of the expansion of the wave-fronts.It is also caused by scattering and reverberation. refraction. Multi-path: • Multi-path propagation: This may be responsible for severe degradation of the acoustic communication signal. whose value depend on the water depth. since it generates Inter-Symbol Interference. • The multi-path geometry: It depends on the link configuration. Noise: • Man made noise: This is mainly caused by machinery noise and shipping activity. and cylindrical (horizontal radiation only).

Delay variance: The very high delay variance is even more harmful for efficient
protocol design, as it prevents from accurately estimating the round trip time, key
measure for many common communication protocols.

Doppler spread:

The Doppler frequency spread can be significant in underwater acoustic
channels, causing degradation in the performance of digital communications.
High data rate communications cause many adjacent symbols to interfere at the
receiver, requiring sophisticated signal processing to deal with the generated ISI.

2.2.2. Underwater acoustic channels

Underwater acoustic channels are temporally spatially and variable due to the
characteristics of the transmission medium and physical properties of the environments.
The signal propagation speed in underwater acoustic channel is about 1.5 × 103 m/sec.
The convenient bandwidth of underwater acoustic channels is limited and dramatically
depends on both transmission range and frequency. The acoustic band under water is
restricted due to absorption.
The bandwidth of underwater acoustic channels working over several kilometers is about
several tens of kbps, whereas short-range systems over several tens of meters can reach at
hundreds of kbps. The path loss, noise, multipath, and Doppler spread affect the
underwater acoustic communication channels. All these factors generate high bit-error
and delay variance.
2.2.3. Distinctions between mobile UWSNs and ground-based sensor networks

A mobile UWSN is very different from any ground-based sensor network in the
following aspects:

Communication Method: Electromagnetic waves cannot propagate over a long
distance in underwater environments. Each underwater wireless link features
large latency and low-bandwidth. Due to such distinct network dynamics,
communication protocols used in ground-based sensor networks may not be
appropriate in underwater sensor networks.

Node Mobility: The sensor nodes in ground-based sensor networks are fixed,
though it is possible to implement interactions between these static sensor nodes
and a limit number of mobile nodes. However, the best part of underwater sensor

nodes are with low or medium mobility due to water current and other
underwater activities. From experimental observations, underwater objects may
move at the speed of 3-6 kilometers per hour in a typical underwater condition.
2.2.4. Current underwater network systems

An underwater sensor network is a next step forward with respect to existing small-scale
Underwater Acoustic Networks (UANs). UANs are associations of nodes that collect data
using remote telemetry or assuming point-to-point communications. The different
between UANs and underwater sensor networks are the following:

Scalability: A mobile underwater sensor network is a scalable sensor network,
which relies on localized sensing and coordinated networking among large
numbers of sensors. In contrast, an existing underwater acoustic network is a
small-scale network relying on data collecting strategies like remote telemetry or
assuming that communication is pointto- point. In remote telemetry, long-range
signals remotely collect data. In point-to-point communication, a multi-access
technique is not necessary.

Self-organization: Usually, in underwater acoustic networks nodes are fixed,
while a mobile underwater sensor network is a self-organizing network.
Underwater sensor nodes may be redistributed and moved by the aqueous
processes of advection and dispersion. Thus, sensors should automatically adjust
their buoyancy, moving up and down based on measured data density. In this
way, sensors are mobile in order to track changes in the water mass rather than
make observations at a fixed point.

Localization: In underwater acoustic networks sensors localization is not desired
because nodes are usually fixed. In mobile underwater sensor networks,
localization is required because the majority of the sensors are mobile with the
current. Determining the locations of mobile sensors in aquatic environments is
very challenging. We need to face the limited communication capabilities of
acoustic channels. Moreover, we need improving the localization accuracy




the duration of one bit or symbol of information becomes smaller. or amplitude adjustment of the carrier. in recent years these techniques have quickly moved out of textbooks and research laboratories and into practice in modern communications systems. phase. The techniques are employed in data delivery systems over the phone line. section 3. and wireless networking systems [14].9 concludes the chapter. Section 3.4 discusses definition of orthogonality. disadvantages and applications of OFDM.1. What is OFDM? And why has it recently become so popular? This chapter is organized as follows. A single carrier system modulates information onto one carrier using frequency.2.3. that are modulated onto the carrier. or collections of bits called symbols.section 3. FDM modulation systems. 3. digital radio and television.3 gives brief details about single carrier modulation. 3.6 discusses the generation and reception of OFDM in detail. For digital signals. As higher bandwidths (data rates) are used. Section 3.7 addresses about the guard period used in OFDM systems.2 THE SINGLE CARRIER MODULATION SYSTEM Fig. However. and principle of OFDM.8 presents the advantages.section 3. The system becomes more susceptible to loss of information from 27 .3.5 discusses the how FFT maintains orthogonality. Section 3. the information is in the form of bits.1 Single carrier spectrum A typical single-carrier modulation spectrum is shown in Figure 3. Following this introduction.1 INTRODUCTION The principle of orthogonal frequency division multiplexing (OFDM) modulation has been in existence for several decades. Finally section 3.

Fig 3.2 FDM signal spectrum Current national television systems committee (NTSC) television and FM stereo multiplex are good examples of FDM. the susceptibility to interference from other continuous signal sources becomes greater. adding some additional immunity to impulse noise and reflections. Since each sub carrier has a lower information rate. FDM offers an advantage over single-carrier modulation in terms of narrowband frequency interference since this interference will only affect one of the frequency sub bands. 3. The data do not have to be divided evenly nor do they have to originate from the same information source.impulse noise. modulation schemes. The other sub carriers will not be affected by the interference. In addition. These 28 . These impairments can impede the ability to recover the information sent. FDM systems usually require a guard band between modulated sub carriers to prevent the spectrum of one sub carrier from interfering with another. This type of interference is commonly labeled as carrier wave (CW) or frequency interference.FDM extends the concept of single carrier modulation by using multiple sub carriers within the same single channel. signal reflections and other impairments. The total data rate to be sent in the channel is divided between the various sub carriers. and possibly different. the data symbol periods in a digital system will be longer.3 FREQUENCY DIVISION MULTIPLEXING MODULATION SYSTEM A typical Frequency division multiplexing signal spectrum is shown in figure 3.2. as the bandwidth used by a single carrier system increases. or sending out banks of dissimilar data that can be best sent using multiple. Advantages include using separate modulation demodulation customized to a particular type of data.

As long as orthogonality is maintained. Orthogonality can also be viewed from the standpoint of stochastic processes. and a signal in the vector space of the DFT can be represented as a linear combination of the orthogonal sinusoids.e. Similarly. the orthogonal basis functions of the DFT. The guard bands that were necessary to allow individual demodulation of sub carriers in an FDM system would no longer be necessary.. If two random processes are uncorrelated. the correlation performed in the DFT for a given sub carrier only sees energy for that corresponding sub carrier. The signals from the sub carriers are then combined to form an estimate of the source signal from the transmitter. Recall from signals and systems theory that the sinusoids of the DFT form an orthogonal basis set. The use of orthogonal sub carriers would allow the sub carriers’ spectra to overlap. it is still possible to recover the individual sub carriers’ signals despite their overlapping spectrums. 3. If the dot product of two deterministic signals is equal to zero. i. there will be a peak in the correlation of the input signal and the basis sinusoid that is at that corresponding frequency. The orthogonal and uncorrelated nature of the sub carriers is exploited in OFDM with powerful results. One view of the DFT is that the transform essentially correlates its input signal with each of the sinusoidal basis functions. this probabilistic view of orthogonality provides an intuitive understanding of the implications of orthogonality in OFDM. OFDM is implemented in practice using the discrete Fourier transform (DFT). Given the random nature of signals in a communications system. then they are orthogonal. If the input signal has some energy at a certain frequency. thus increasing the spectral efficiency. a higher level of spectral efficiency could have been achieved. the transform is used again at the OFDM receiver to process the received sub carriers.4 ORTHOGONALITY AND OFDM If the FDM system above had been able to use a set of sub carriers that were orthogonal to each other. This transform is used at the OFDM transmitter to map an input signal onto a set of orthogonal sub carriers. The energy from other sub 29 .guard bands lower the system’s effective information rate when compared to a single carrier system with similar modulation. these signals are said to be orthogonal to each other. Since the basis functions of the DFT are uncorrelated.

This will allow understanding how the signal is generated and how receiver must operate. OFDM consists of many carriers. The values of the parameters are constant over the symbol duration period t. This separation of signal energy is the reason that the OFDM sub carriers’ spectrums can overlap without causing interference. Thus the complex signal Ss(t) is represented by: 1 N −1 ss (t) = ∑ A N (t)e j[ ωn t +φn (t )] N n =0 (3. Ac (t) and φc (t). can vary on a symbol by symbol basis. then the variables Ac (t) and φc (t) take on fixed values.carriers does not contribute because it is uncorrelated. and so can be rewritten: φn (t) = φn A n (t) = A n If the signal is sampled using a sampling frequency of 1/T(48kHz).5 MATHEMATICAL ANALYSIS: With an overview of the OFDM system. then the resulting signal is represented by: ss (kT) = 1 N −1 A n e[ j( ω0 + nΔω)kT +φn ] ∑ N n =0 30 (3. the amplitude and phase of the carrier. If we consider the waveforms of each component of the signal over one symbol period. each carrier can be described as a complex wave: SC (t) = A C (t)e j( ωc (t ) +Φc(t )) (3.3) . It is important to understand that the carriers generated by the IFFT chip are mutually orthogonal. Mathematically. 3.1) The real signal is the real part of sc (t). This is true from the very basic definition of an IFFT signal. it is valuable to discuss the mathematical definition of the modulation system. which depend on the frequency of that particular carrier.2) Where This is of course a continuous signal.

It then transforms this spectral representation of the data into the time domain using an Inverse Discrete Fourier Transform (IDFT). then the signal becomes: 1 N −1 s s (kT) = ∑ A n e jφn e j(nΔω)kT N N =0 (3. except that it is much more computationally efficiency. In order to transmit the OFDM signal the calculated time domain signal is then mixed up to the required frequency. 31 . Thus we have a relationship: t=NT If we now simplify equation 3. into a mapping of subcarrier amplitude and phase. Eqns. It is convenient to sample over the period of one data symbol.6 OFDM GENERATION AND RECEPTION OFDM signals are typically generated digitally due to the difficulty in creating large banks of phase locks oscillators and receivers in the analog domain. Fig 3.4 the function A n e jφ n 2π kn n N G ( )e ∑ NT n =0 N −1 (3. and so is used in all practical systems.4 can be compared with the general form of the inverse Fourier transform: 1 g (kT ) = N In Equation 3.3. 3.4 and 5 are equivalent if: This is the same condition that was required for orthogonality Thus.At this point.3 shows the block diagram of a typical OFDM transceiver [15]. one consequence of maintaining orthogonality is that the OFDM signal can be defined by using Fourier transform procedures. and s (kT) is the time domain representation. we have restricted the time over which we analyze the signal to N(1024) samples. The Inverse Fast Fourier Transform (IFFT) performs the same operations as an IDFT.5) is no more than a definition of the signal in the sampled frequency domain. without a loss of generality by letting ω0=0.4) Now equation 3. The transmitter section converts digital data to be transmitted.

6. rather than in large clusters. then using a Fast Fourier Transform (FFT) to analyze the signal in the frequency domain [16]. resulting in a clustering of the bit errors in each symbol.rate=1/2) tend to work more effectively if the errors are spread evenly. 32 . In cases where the signal is independent of this distinction then the term FFT and IFFT is used interchangeably. 3.Fig 3. These nulls in the frequency response of the channel can cause the information sent in neighbouring carriers to be destroyed. mixing the RF signal to base band for processing. which in turn can result in bit errors.3 Block diagram of a basic OFDM transceiver. The receiver performs the reverse operation of the transmitter.1 Error Correction Codes: When an OFDM transmission occurs in a multipath radio environment. frequency selective fading can result in groups of sub carriers being heavily attenuated. The IFFT and the FFT are complementary function and the most appropriate term depends on whether the signal is being received or generated. The amplitude and phase of the sub carriers is then picked out and converted back to digital data. Most Forward Error Correction (FEC) schemes(convolution code(constraint length 7.

All encoded data bits shall be interleaved by a block interleaver with a block size corresponding to the number of bits in a single OFDM symbol. The carrier frequency. denoted Fc. NCBPS(288). This alteration is called modulation. Convolutional encoder (K=7) 3. or one that is otherwise unsuitable for the channel. 33 .6.2 Data Interleaving Interleaving aims to distribute transmitted bits in time or frequency or both to achieve desirable bit error distribution after demodulation .6. Modulation is a process by which a carrier signal is altered according to information in a message signal.3 Subcarrier modulation • Modulation One way to communicate a message signal whose frequency spectrum does not fall within that fixed frequency range. 3. The first permutation ensures that adjacent coded bits are mapped onto nonadjacent sub carriers. Deinterleaving is the opposite operation of interleaving. The receiver then recovers the original signal through a process called demodulation. The second ensures that adjacent coded bits are mapped alternately onto less and more significant bits of the constellation and. the bits are put back into the original order. is to change a transmittable signal according to the information in the message signal.The interleaver is defined by a two-step permutation. thereby.e. long runs of low reliability (LSB) bits are avoided.4. and it is the modulated signal that is transmitted.Figure 3. i. is the frequency of the carrier signal..

Baseband simulation requires less computation.The sampling rate. Fs. b) Frequency Shift Key (FSK) Modulation In this method the frequency of the carrier is changed to two different frequencies depending on the logic state of the input bit stream. In this thesis.4. baseband simulation will be used. • Baseband versus Pass band Simulation For a given modulation technique. two ways to simulate modulation techniques are called baseband and pass band. is the rate at which the message signal is sampled during the simulation. A typical output waveform of an ASK modulation is shown in Fig3. The frequency of the carrier signal is usually much greater than the highest frequency of the input message signal. in order for the demodulator to recover the message correctly.4 ASK modulation In this method the amplitude of the carrier assumes one of the two amplitudes dependent on the logic states of the input bit stream. The typical output waveform of an 34 . • Digital Modulation Techniques a) Amplitude Shift Key (ASK) Modulation Fig 3. The Nyquist sampling theorem requires that the simulation sampling rate Fs be greater than two times the sum of the carrier frequency and the highest frequency of the modulated signal.

Fig. The set of possible combinations of amplitudes is a pattern of dots known as a QAM constellation. The outputs of both modulators are algebraically summed and the result of which is a single signal to be transmitted. 3. These are: 1 Two-phase (2 PSK) 2 Four-phase (4 PSK) 3 Eight-phase (8 PSK) 4 Sixteen-phase (16 PSK) etc. There are several different types of Phase Shift Key (PSK) modulators.5.FSK is shown in Fig 3. Notice that logic high causes the centre frequency to increase to a maximum and a logic low causes the centre frequency to decrease to a minimum. they are mapped using a 35 . Once each subcarrier has been allocated bits for transmission. The carrier is shifted to create two carriers namely the sine and cosine versions. d) Quadrature Amplitude Modulation (QAM) QAM is a method for sending two separate (and uniquely different) channels of information. containing the In-phase (I) and Quadrature (Q) information.5 FSK Modulation c) Phase Shift Key (PSK) Modulation With this method the phase of the carrier changes between different phases determined by the logic states of the input bit stream.

56 null carriers. which is represented by a complex In-phase and Quadrature-phase (IQ) vector. 36 .6 IQ modulation constellation. Each combination of the 4 bits of data corresponds to a unique IQvector.7 OFDM symbols The serial signal is transformed to parallel alter the modulation using a reshape block.modulation scheme to a subcarrier amplitude and phase. In the receiver. The figure illustrates the OFDM transmission. 64-QAM Subcarrier modulation can be implemented using a lookup table. and a 128-sample cyclic prefix. 1024-point FFTs.1 OFDM Transmitter OFDM (orthogonal frequency division multiplexing) transmission uses 1024 Sub carriers. 64qam constellation diagram 8 6 4 2 0 -2 -4 -6 -8 -8 -6 -4 -2 0 2 4 6 8 Fig 3. mapping the received IQ vector back to the data word performs sub carrier demodulation. shown as a dot on the figure. which maps 4 bits for each symbol.7. 3. This example shows 16-QAM. 256 pilots. making it very efficient to implement. Fig 3. 3. A large number of modulation schemes are available allowing the number of bits transmitted per carrier per symbol to be varied [17].6 shows an example of subcarrier modulation mapping.

pilots are inserted in its proper place in each symbol. The insertion is achieved with a matrix concatenation block.2 Pilot insertion: In each OFDM symbol.[23] It helps the receiver to estimate phase and amplitude errors.7. 256 pilots equally spaced As explained.7. Two fifty six pilots are inserted in each OFDM symbol in the required subcarriers. In the simulation 37 . Pilots .3 Preamble The preamble is used to detect the start of the packet and to synchronize the receiver as well. 1024 sub carriers.. four pilots are inserted in each OFDM symbol. A preamble is added at the beginning of each frame.The OFDM Transmitter subsystem performs the following task: • Pilots and preamble insertion • IFFT • Cyclic prefix addition 3. These pilot signals shall be placed equally in sub carriers . four of the sub carriers are dedicated to pilot signals in order to make the coherent detection robust against frequency offsets and phase noise.8. thereby allowing it to correct the received signal. 3. The OFDM symbols should be packed into frames before being sent.3. Figure.

1. 3. 1. -1. -1. 1. has been used: L[-256. 1………} A long OFDM training symbol consists of 512 sub carriers (including a zero value at DC).. -1. -1. 1.9. An IFFT is then used to convert this signal to the time in this work a preamble consisting on two long training symbols. Fig 3. -1. OFDM generation. -1. 0. In the frequency domain. 1. 1. 1. -1. 1. -1. 1. 1. Most of the sub carriers are modulated with data. 1. -1. The outer sub carriers are unmodulated and set to zero amplitude. -1. 1. allowing it to be transmitted. 1. IFFT(1024) stage After the subcarrier modulation stage each of the data sub carriers is set to amplitude and phase based on the data being sent and the modulation scheme. before applying the IFFT.7 shows the IFFT section of the OFDM transmitter. All unused sub carriers are set to zero. like the following one.1. 1. 1. -1. -1. 1. 1. -1. 1. each of the discrete samples of the IFFT corresponds to an individual sub carrier. 1.-1. 1.8 Frequency to time domain conversion Fig 3. These zero sub carriers provide a frequency guard band before the nyquist frequency and effectively act as an interpolation of the 38 .255}= {…. This sets up the OFDM signal in the frequency domain.-1. -1. 1. 1.1. -1. -1. 1. -1. 1. -1. -1. 1. 1.1. 1.

such as walls. using analog techniques 3.signal and allows for a realistic roll off in the analog anti-aliasing reconstruction filters. the symbol rate corresponds to the bit rate of the transmission. 3.10 GUARD PERIOD For a given system bandwidth the symbol rate for an OFDM signal is much lower than a single carrier transmission scheme. The effect of ISI on an OFDM signal can be further 39 .8 or using a Digital up Converter as shown in Fig 3.9. Multipath propagation is caused by the radio transmission signal reflecting off objects in the propagation environment. etc.8 RF modulation of complex base band OFDM signal. These multiple signals arrive at the receiver at different times due to the transmission distances being different. which must be mixed up to the required transmission frequency. mountains. For example for a single carrier BPSK modulation. This can be implemented using analog techniques as shown in Fig 3.9 RF modulation The output of the OFDM modulator generates a base band signal. This spreads the symbol boundaries causing energy leakage between them. This low symbol rate makes OFDM naturally resistant to effects of Inter-Symbol Interference (ISI) caused by multipath propagation. However for OFDM the system bandwidth is broken up into NC sub carriers. resulting in a symbol rate that is NC times lower than the single carrier transmission. buildings. Fig 3.

10. to work out the phase and amplitude of the sub carriers. Each sub carrier. Because of this. the OFDM symbol with no guard period added. with no discontinuities at the joins.e. Thus by copying the end of a symbol and appending this to the start results in a longer symbol time. placing copies of the symbol end-to-end results in a continuous signal. (i.10 Addition of a guard period to an OFDM signal The total length of the symbol is TS=TG + TFFT. Fig. and TFFT is the size of the IFFT used to generate the OFDM signal. 3. 40 .10 shows the insertion of a guard period. For an OFDM system that has the same sample rate for both the transmitter and receiver.1 Protection against time offset To decode the OFDM signal the receiver has to take the FFT of each received symbol. The effects of multipath propagation and how cyclic prefix reduces the inter symbol interference is discussed in detail in chapter4.improved by the addition of a guard period to the start of each symbol. it must use The same FFT size at both the receiver and transmitted signal in order to maintain sub carrier orthogonality. TG is the length of the guard period in samples. This guard period is a cyclic copy that extends the length of the symbol waveform. Fig 3. the guard period also provides protection against time-offset errors in the receiver. which is equal to the length of the IFFT size used to generate the signal) has an integer number of cycles. in the data section of the symbol. where Ts is the total length of the symbol in samples. In addition to protecting the OFDM from ISI. 3.

The guard period adds time overhead.Each received symbol has TG + TFFT samples due to the added guard period.10.6).3 Intersymbol interference Assume that the time span of the channel is Lc samples long.6) In Equation (3.10. The sub carrier spacing is determined by the sample rate and the FFT size used to analyze the received signal. The receiver only needs TFFT samples of the received symbol to decode the signal [18]. resulting in some ISI even when a relatively long guard period is used. an OFDM system has N subcarriers. Δf = FS N FFT (3. 3. and NFFT is the size of the FFT. For an ideal channel with no delay spread the receiver can pick any time offset. each with a data rate of R/N symbols/second. Δf is the sub carrier spacing in Hz. Instead of a single carrier with a data rate of R symbols/ second. Because of the cyclic nature of the guard period changing the time offset simply results in a phase rotation of all the sub carriers in the signal. Provided the time offset is held constant from symbol to symbol. and still get the correct number of samples. however it does not affect the sub carrier spacing seen by the receiver. the phase rotation due to a time offset can be removed out as part of the channel equalization [19]. multipath components tend to decay slowly with time. the 41 . with a sub carrier at the nyquist frequency changing by 180° for each sample time offset. without crossing a symbol boundary. The remaining TG samples are redundant and are not needed. up to the length of the guard period. Because the data rate is reduced by a factor of N. 3. The addition of guard period removes most of the effects of ISI. Fs is the sample rate in Hz. decreasing the overall spectral efficiency of the system. The amount of this phase rotation is proportional to the sub carrier frequency. However in practice.2 Guard period overhead and sub carrier spacing Adding a guard period lowers the symbol rate. In multipath environments ISI reduces the effective length of the guard period leading to a corresponding reduction in the allowable time offset error.

Since it does not contain any useful information. An example of this effect is shown in Fig 3. a convolution in time is equivalent to a multiplication in the frequency-domain. the guard interval would be discarded at the receiver. one can consider the use of a guard interval to remove the effect of intersymbol interference. the effects of intersymbol interference are thrown away as well. Recall that in continuous-time.11 Example of intersymbol interference. By noting that only the first few samples of the symbol are distorted. 3. Thus. This periodic form is achieved by replacing the guard interval with something known as a cyclic prefix of length Lp samples. The green symbol was transmitted first. The guard interval could be a section of all zero samples transmitted in front of each OFDM symbol [20]. the OFDM symbol itself will not be distorted. This property is true in discrete-time only if the signals are of infinite length or if at least one of the signals is periodic over the range of the convolution. If the length of the guard interval is properly chosen such that it is longer than the time span of the channel. The solution to the problem of intrasymbol interference involves a discrete-time property. This type of interference is called intrasymbol interference [21]. Appropriate value for N. however. it is possible to make the OFDM symbol appear periodic. by discarding the guard interval. By choosing an Fig 3. followed by the blue symbol. The cyclic prefix is a replica of the last Lp 42 . the length of the OFDM symbol becomes longer than the time span of the channel. the effect of intersymbol interference is the distortion of the first Lc samples of the received OFDM symbol.11. Because of this configuration. It is not practical to have an infinite-length OFDM symbol.4 Intrasymbol interference The guard interval is not used in practical systems because it does not prevent an OFDM symbol from interfering with itself.10.OFDM symbol period is increased by a factor of N.

the frequency. Because of the way in which the cyclic prefix was formed. the cyclically-extended OFDM symbol now appears periodic when convolved with the channel. the time-domain signal is still convolved with the channel response [22]. a frequency. The result is that each sub carrier’s symbol will be multiplied by a complex number equal to the channel’s frequency response at that sub carrier’s frequency. In a digital communications system. the data will ultimately be transformed back into the frequencydomain by the FFT in the receiver. The equalizer processes symbols in order to adapt its response in an attempt to remove the effects of the channel. Because of the periodic nature of the cyclicallyextended OFDM symbol. Such an equalizer is much simpler than a time-domain equalizer. Like the case of the guard interval. Each received sub carrier experiences a complex gain (amplitude and phase distortion) due to the channel. In order to undo these effects. the ideal value of the equalizer’s response is the inverse of the channel’s frequency response [24]. An important result is that the effect of the channel becomes multiplicative. In order to undo the effects of the channel.domain constellation points) with the frequency response of the channel. Thus.. Such an equalizer can be expensive to implement in hardware and often requires a large number of symbols in order to adapt its response to a good setting. this step removes the effects of intersymbol interference. In OFDM.domain equalizer is employed. The frequency domain equalizer consists of a single complex multiplication for each sub carrier. Since it contains redundant information. the effect of the channel is convolution. For the simple case of no noise. However. The length of the equalizer needs to be on the order of the time span of the channel. the symbols that arrive at the receiver have been convolved with the time domain channel impulse response of Length Lc samples. the cyclic prefix is discarded at the receiver.e.samples of the OFDM symbol where Lp > Lc. 43 . this time-domain convolution will result in the multiplication of the spectrum of the OFDM signal (i. another convolution must be performed at the receiver using a time domain filter known as an equalizer.

3 Eliminates ISI and IFI through use of a cyclic prefix. 3. 2 It is more sensitive to carrier frequency offset and drift than single carrier systems are due to leakage of the DFT. therefore it requires RF power amplifiers with a high peak to average power ratio. 4 Using adequate channel coding and interleaving one can recover symbols lost due to the frequency selectivity of the channel. OFDM is more resistant to frequency selective fading than single carrier systems. 44 . 9 Provides good protection against co-channel interference and impulsive parasitic noise.3. 6 It is possible to use maximum likelihood decoding with reasonable complexity.11. 2 By dividing the channel into narrowband flat fading sub channels.11. 7 OFDM is computationally efficient by using FFT techniques to implement the modulation and demodulation functions.1 Advantages 1 Makes efficient use of the spectrum by allowing overlap. 8 Is less sensitive to sample timing offsets than single carrier systems are.2 Disadvantages 1 The OFDM signal has a noise like amplitude with a very large dynamic range.11 Advantages and Disadvantages of OFDM as Compared to Single Carrier modulation 3. 5 Channel equalization becomes simpler than by using adaptive equalization techniques with single carrier systems.


the kind of signals that humans interact with. These signals are converted to a format that computers can understand (digital) and. Similarly. from mobile phones. i. once this has happened.1 INTRODUCTION TO DSP Digital Signal processing (DSP) is one of the fastest growing fields of technology and computer science in the world. 46 . for example speech. In today's world almost everyone uses DSPs in their everyday life but.[17] DSP is all about analysing and processing real-world or analogue signals. Figure. Digital Signal Processors are special purpose microprocessors used in all kind of electronic products.1.e. the digital signals must be converted back to analog ones for them to be used outside the computer. The following diagram shows the typical component parts of a DSP system. Typical components of a DSP system In order to process analog signals with digital computers they must first be converted to digital signals using analog to digital converters. unlike PC users. modems and CD players to the automotive industry. almost no one knows that he/she is using DSPs. process.4. medical imaging systems to the electronic battlefield and from dishwashers to satellites.4.

DSP proccesors usually have hardware adders and multipliers which can be used in parallel within a single instruction. High speed arithmetic: Most DSP operations require additions and multiplications together. the inherent tolerance associated with this components. Multiple access memory architectures: Typical DSP operations require many simple additions and multiplications. On the other hand. an addition and a multiplication. In each case. To fetch the two operations in a single instruction cycle the two memory accesses should be able to operate 47 .With DSP it is easy to chance. capacitors and inductors. temperature and voltage changes and mechanical vibrations can dramatically affect the effectiveness of analogue circuitry. often referred to as a stream. 4. Additionally. so both. It is a Super Mathematician thanks to its arithmetic logic units and its optimized multipliers. cost and power consumption. correct or update applications. the processor may have to be able to receive and transmit data in real time. 3. 2. reliable and repeatable. In a typical DSP application the processor will have to deal with multiple sources of data from the real world.2 HOW DSPs ARE DIFFERENT FROM OTHER MICROPROCESSORS DSP has many unique properties. some features that make DSP different from other microprocessors are going to be described: 1. Thus. without interrupting its internal mathematical operations. However. Next. Traditional signal processing was achieved by using analogue components such as resistors. chip count. Data transfer to and from real world. DSP reduces noise susceptibility. These multiple communications routes mark the most important distinctions between DSP processors and general purpose processors. DSP processors arithmetic speed is very high compared with microprocessors. DSP is inherently stable. can be executed in a single cycle. DSPs do really well in application where the data to be processed is arriving in a continuous flow. development time.There are many reasons why we process these analog signals in the digital world. It uses almost no power compared to a PC microprocessor.

Figure 24 shows the main components of the TMS320C6000 DSP under a block diagram form. High performance. The C62xx processors are fixed-point processors whereas the C67xx are floating-point processors. These refer to the format used to store and manipulate numbers withing the devices. a DSP device must be considered as a specific microprocessor whose components have been linked in a clever way to process faster. The TMS320C6xxx family are processors currently running at a clock speed of up to 300MHz (225MHz in the TMS320C6713 case).3 INTRODUCTION TO THE TMS320C6000 PLATFORM OF DIGITAL SIGNAL PROCESSORS The DSP architecture is a well defined but quite complex hardware structure that needs much time to be explained in detail.simultaneously. 4. wireless local loop base stations. External Memory Interface (EMIF) to access external data at the specified address. First of all. 48 . An overview of this architecture is going to be exposed here in order to make it as much understandable as possible. etc). For this reason DSP processors usually support multiple memory accesses in the same instruction cycle. 4. easy use. With a performance of up to 2000 million instructions per second (MIPS) at 250 MHz and a complete set of development tools. and affordable pricing make the TMS320c6000 platform the ideal solution for a large number of applications (multichannel multifunction applications such as: pooled modems. The TMS320C6000 DSPs give the system architects unlimited possibilities to differentiate their products. the TMS320C6000 DSPs offer cost effective solutions to higher-performance DSP programming challenges. multichannel telephony systems. It is composed of: 1. Digital Signal Processors also have the advantage of consuming less power and being relatively cheap. The TMS320C6000 family of processors from the company Texas Instruments is designed to meet the real-time requirements of high performance digital signal processing.

medical and diagnostic. they allow the components to quickly communicate together differentiating addresses and data. 5. 3. The TMS320C6713 (C6713) device is based on the high-performance.2. advanced VelociTI very-long-instruction-word (VLIW) architecture developed by Texas Instruments (TI). making this DSP an excellent choice for multichannel and multifunction applications.3. Other hardware features of the TMS320C6713 DSK board include: 49 .TMS320C6000 block diagram 4. The C6713 is based on the TMS320C6000 DSP platform designed to fit the needs of high-performing high-precision applications such as pro-audio. Figure . Serial port.1 TMS320C6713 DSP Description The TMS320C67 DSPs (including the TMS320C6713 device) compose the floating– point DSP generation in the TMS320C6000 DSP platform. Peripherals are the possible connectable devices that can be associated with the DSP (DMA/EDMA. Timer/Counter…). CPU. The DSK features the TMS320C6713 DSP. which is the internal memory where a set of instructions and data values can be stored (FFT algorithm for example).4. a 225 MHz device delivering up to 1800 million instructions per second (MIPs) and 1350 MFLOPS. Internal buses. 4.2. which is the most important component since it performs all the operation. Memory. This DSP generation is designed for applications that require high precision accuracy.

Architecture of the TMS320C6713 DSK 50 . line in.3. Figure 25 shows the architecture of the TMS320C6713 DSK.• Embedded JTAG support via USB • High-quality 24-bit stereo codec • Four 3.4.5mm audio jacks for microphone. speaker and line out • 512K words of Flash and 8 MB SDRAM • Expansion port connector for plug-in modules • On-board standard IEEE JTAG interface • +5V universal power supply The DSP environment used in this project is the TMS320C6713 DSK. Key features include: Figure .

Guard Interval Tg=25 msec. The following specifications we considered for the current design of Acoustic Modem.2048+0. Sampling rate 48kHz 3. 1024 sub carriers. Sub carrier frequency spacing is 5Hz(1/(T-Tg)) 51 .4.4 DSP IMPLEMENTATION Fig. 7.Data rate Based on above parameters. Preamable duration 0. OFDM Symbol Duration T= 0.266sec 8. The boards connected by stereo cables for data transmission.56 null carriers 4.Bandwidth 2. One is used as Transmitter and other as Receiver. 1. 6.Multipath Delay Spread 3.4. Band width 5kHz 5.Implemented on TMS320c6713DSP using TMDSDSK6713 Evaluation Board In this work we used two 6713DSK’s for testing.2298(0.4.5kHz 2.025) sec.1v is used for code generation Normally Design Parameters for Designing a Wireless Modem are 1. CCS3. Carrier frequency 12.256 pilot carriers.

Data rate 3. 5. Kn(56)null sub carriers inserted in the middle portion for the over sampling and also to mitigate the effect of ICI and ISI. So data sampling and processing can be done simultaneously and no incoming signals are missed even if the DSP is processing previously received data. 52 . a DMA interrupt is initiated and the data is passed to the interrupt service routine (ISR) and then is processed. 1024 ifft provides tme domain complex output with real and imaginary values are cyclically extended by K/8 samples to avoid the mutipah effects. QPSK sub carrier Modulation 11. To save the raw audio data from the AIC23 codec continuously. K/4(256) equally spacing pilots inserted with unit amplitude and zero phase for channel estimation.where adjacent bits mapped onto non adjacent sub carriers. 3.1 kbps. 4. Processing steps: 1.. one of the multichannel buffered serial ports (McBSPs) is configured to connect the AIC23 codec.2 kbps to 3.9. The audio data is transferred between the codec and the internal L2 memory through the enhanced direct memory access (EDMA) channel. The stored data to be converted into binary stream for transmission.To sample audio signals. decreased the data rate from 6. here search is one dimensional.1 TRANSMITTER DESIGN We taken audio signal as input to the system. When one of the two buffers is filled. 2.rate=1/2. the codec keeps sampling and saves data into the other buffer. 6.1kbps 10. FEC code (convoutional) 4. Block interleaving is taken place to avoid burst of errors . At the same time. the commonly-known double-buffering method is used.4. Forward error correction convolution code is considered with constraint length7.

5.2 CHANNELNOISE: 1.11a Standard Figure 4. preamble appended to the OFDM symbol at the beginning for timing and frequency synchronization (to know ofdm frame starting).3 msec.4. 10.3 RECEIVER: 1.5khz) 4.4. 8. To reduce the effct of ICI/ISI we do apply RRC windowing to provide constant envelope for the particular ofdm symbol duration .40%ppm of operating frequency(12.(techinge applied PLL. all the above specifications adopted from IEEE802. Qpsk Demodultion takes place to extract the binay symols from carrier.7. Stored speech signal in Buffer 4.max excess delay 276. 53 . AWGN (Additive White Gaussian Noise) 2. At last that OFDM symbols get modulated by qpsk carrier(12.5kHz) to tranimit through the cable. Carrier frequency offset(0. 9.2Hz.7tap filter) 3. Multipath channel noise(real world exponential channel with delay spread 50msec.

Figure 4. 6.This technique provides us coarse frequency tuning for 50% overlap of sub carries. One dimensional channel estimation done by calculating the FFT of K/4 Pilot sub carriers. 3. 5. FFT will be calculated to covert time domain symbols into frequency domain where already effected by Phase Noise and frequency noise 4. CFO estimation done by taking FFT of Kn sub carriers where minargJ(n) minimum then ICI would be greatly reduced. 7. Autocorrelation and cross correlation peaks of long preamble of two period sequences with 60% cyclic prefix decide the starting symbol of OFDM frame. 8. Corrupted qpsk symbols extracted by quantization technique. Vertebra decoder(hard decision algorithm) decodes the corrupted data and provides the output to the speaker. Demapping (mapped symbols converted back into bits).6 Recovered speech signal 54 .2.


section 5. Fig 5.3 presents one important block in receiver Frame Synchronization in detail.1.11a wireless LAN standard. Section 5. 16-QAM. and in CCS for Modem design we considered only QPSK modulation in wired environment. The aim of doing the simulations was to measure the performance of OFDM under AWGN. Carrier frequency offset conditions.1 INTRODUCTION An OFDM system was modeled using Matlab to allow various parameters of the system to be varied and tested.2 SIMULATION MODEL The OFDM system that was simulated using matlab for the model shown in Fig 5. 64-QAM used in IEEE 802.4 provides the simulation results of OFDM system for different channel schemes. QPSK. Multipath(real world exponential channel considered) channels. for different modulation schemes like BPSK.1 simulation model of OFDM 56 . 5. Following this introduction.5. steps in OFDM simulation and parameters used for the Modem design.2 discusses model used in simulation. Section 5.

This is the task of the OFDM frame synchronization subsystem.Following are the parameters used in simulation of OFDM system.and then another WI.16-QAM. In order to properly demodulate the OFDM symbol.QPSK. the start of each OFDM frame needs to be found with reasonably accuracy.1 OFDM simulation parameters 5.64-QAM FFT size 1024 Number of carriers used 1024 Guard time 128 samples Guard period type Cyclic extension of the symbol Table 5. Parameter value modulations used BPSK. the FFT in the receiver needs to be filled with data from only one OFDM symbol.2 shows the need for frame synchronization Each OFDM symbol consists of a window interval.3 OFDM Frame Synchronization In order to properly demodulate the transmitted data.. the OFDM data. WI. as shown in Figure 24. Figure 5. The OFDM frame synchronization subsystem ignores input before the preamble comes in and then aligns the input directly after the preamble on frame boundaries. 57 . a guard interval. If it gets information from overlapping symbols. the data will be corrupt.

This short symbol is then repeated 10 times to create the whole short preamble. 0. 0.255. 0. 0. 0. according to specification. 1+j. 0. 0. 0.2 0 0 50 100 received samples 58 150 . 0. –1–j. 0. 0. 0.8 0. 0. 0.16a specification defines an initial pseudo-random preamble sequence that is used for frame synchronization. 0. 0.0………} This long sequence. 0. 1+j. S. Theory A pseudo-random sequence has a unique property in that its autocorrelation is very peaked. Sridhar Nandula and K Giridhar [26] detail a technique that can be used to synchronize with this preamble. if the start of the OFDM symbols can be found. 0. 0. then the decoding of the symbols can be properly performed. This is very useful in determining the location of a sequence in s signal and can be used to implement frame synchronization in communication systems. 0. 227 = √(13/6) × {………. 0. 0. 0. timing synchronization under no noise 1. 1+j. Figure 25 from Nandula and Giridhar’s article shows this technique. This padded vector is then fed into a 512point IFFT to bring it to the time domain and then cyclically extended to 1332(0. 0. 1+j.0. The 802.6 0. 0. –1–j.2 amplitude 1 0. –1–j. r. a 512 length vector.Since every symbol is the same length. 0.4 cross correlation auto correlation 1. –1–j. 0. 0. This set of 1332samples in the time domain. 0. 0. What is given is 512 QPSK symbol pseudorandom in a sequence show in Equation 7 [2]. 0. 0.4 0. –1–j. 0. 0. 0. is then windowed to reduce inter symbol interference to create one longt symbol. S–228. 0. 0. 1+j. 1+j. 0. is then padded with zeros on either side to bring it to S-256. that will be used to find the start of the OFDM frame. 1+j. 0.6*S+S+S) samples..

3 are generated by Equation 5.2 and M is the number of short symbols that the cross correlation is averaged over.Moving Average Equation In Equation The spikes in Figure 5.3 shows the results of the signal being auto correlated with itself delayed by one symbol length (Equation 8). and N is the length of the OFDM data (512 samples).3 . S is the number of FFT samples. is cross correlated with one short symbol.4. 59 . as in Equation 5.Detail of frame synchronization technique The “dome” in Figure 5. the whole preamble. r. In this equation. ploted the BER Vs SNR and MSE Vs SNR graphs. In this way for frame synchronization we perform several tests under different channels and for different modulations. s. r is the whole transmitted preamble. Equation 5. Equation 5.2 . L is the length of one short symbol.Figure 5. Equation 5.Autocorrelation Equation In above Equation.Equation for Cross Correlation with the Preamble The start of the OFDM symbol can then be found by timing off of the last large spike inside the flat part of the dome. The result of Equation 8 is rather noisy. It is then smoothed with a moving average filter as shown in below Equation.1 .4 .

1 0 0 500 1000 received short preamble 1500 Figure 5.4 0.9 0.3 0.delay spread=50ms 1 Cross corr Auto corr 0.2 0.Timing synchronization under SNR-10.7 amplitude 0.2Hz Probability of synchronization failure -1 10 -2 10 -3 10 -4 10 2 4 6 8 SNR(db) 10 12 14 Fig.5.5 0. Detail of frame synchronization technique under SNR=10.delay spread=50ms Probability of synchronization failure curves 0 10 AWGN channel Multipath DS 50ms Multipath DS 50ms&Freq.4.offset 0.6 0.8 0.5 Probability of synchronization failure curves under different channels 60 .

5.2Hz multipath channel DS 50ms &freq. 16-QAM. offset 0.7 BER vs. 64-QAM 61 .0 10 AWGN channel freq. SNR plot for OFDM using BPSK.offset 0.6 Variation of MSE Vs SNR under different channels BER vs SNR 0 10 BPSK QPSK 16-QAM 64-QAM -1 BER 10 -2 10 -3 10 -4 10 0 5 10 15 SNR 20 25 30 Fig.5.2Hz -1 10 -2 MSE 10 -3 10 -4 10 2 4 6 8 10 12 SNR(db) 14 16 18 20 Fig. QPSK.

2 Execution Time(in sec) Measured in CCS profiler The above simulation results exposed out the probability of occurring of Frame Synchronization errors under different noisy channels including (AWGN.Multi path.FUNCTIONS COUNT EXECUTION TIME Convlution 2 6751552 mul_sum 1 10214 sum_seq 2 32764 Synchronization 1 3637253 Complex_conv 1 38546754 CFO_estimate 1 34080023 FFT 23 884811 VITERBI 1 1367923 Block_Processing 1 47262925 TOTAL 473578235 Table 5.4 Performance tests Base Band Modulation techniques: First Test: PCM: Speech input 16 bit converted into binary and transmitted though cable successfully received with out noise Maximum input frequency=1 kHz 62 . Carrier frequency offset) . On the DSK board corresponding MatLab programs converted into “c” code and loaded onto two boards and perform the following tests 5.

components band pass filter (16 kHz). Frequencies separated by band pas filters (IIR design with 30 order) Input frequencies=1 kHz.2298sec) We tried our best at optimizing the code and utilize the resources to the maximum extent. 63 . multiplier.lowpass filter(4kHz)(with 30th order and FIR filter with Kaiser window). 2 kHz.Sampling frequency=48 kHz Second Test DPCM: Applied mu law for bit compression and used LPC coder to provide prediction error minimum to get less coded bits (reduced from 16 to 8) observed signal clearly .QPSK: Successfully tested. 3 kHz Sampling frequency =8 kHz OFDM: The code we generated Loaded onto the 2 DSKS (Transmitter. and at last we measured all the subroutines code length and their execution time by using CCS profiler And we found that for one block OFDM our processor taking approxly 2. Receiver) And When tested we were hearing more noise than signal.7235 sec Actually which could finish in OFDM symbol duration which is(0. We tried with all possible conditions but could not improve the system performance. Maximum input frequency=1 kHz Sampling frequency =16 kHz Single carrier Modulation: BPSK.decimator Maximum input frequency=1 kHz Sampling frequency =8 kHz Filtering operations done by overlap add FFT method to improving the speed factor than convolution method Multi carrier Modulation: Tested Successfully in SIMULINK and that model Embedded into DSP target for execution.

the current implementation does not meet the real-time operation requirements yet. LIMITATIONS 1. 2. 2. anyone can motivated to pursue a hybrid DSP/FPGA-based solution to construct a realtime OFDM modem. Based on the program profiling. We reduced the processing time per OFDM block to about 2. we identified the timeconsuming operations of the OFDM algorithms. We optimized the code and achieved significant speedups.We could not test the system in real time in air to air and in under water communication environments.23 seconds. FUTURE WORK 1.we did not consider Doppler spread in simulation.7235 seconds.the current implementation does not meet the real-time operation requirements yet. Since the duration of an OFDM block is 0.CONCLUSION We implemented the coherent OFDM algorithm on a TMS320C6713 DSP board for acoustic communications. In the future.In the future. 64 . we can motivated to pursue a hybrid DSP/FPGA-based solution to construct a real-time OFDM modem.

” in Proc. N. Stojanovic. Freitag. 2006. Vol. and S. “Non-uniform Doppler compensation for zero-padded OFDM over fast-varying underwater acoustic channels. 723 – 728.11a White Paper. US. [9] TMS320C67xx: Code Composer Studio Tutorial. Anstett. [3] B. S. [4] B. IEEE Transactions. 1999 Edition. [11] R. 1970. USA. [5] S. Zhou. pp. Texas Instrument.11a. September 14. Shengli Zhou. and Baosheng Li “DSP Implementaion of OFDM Acoustic Modem” in WUWNet’07. IEEE Standards Board. and L. Freitag. February 2005. Mason. Zhou.” in Proc. of OCEANS. “Low complexity OFDM detector for underwater channels. R. Zhou. and P. April 2007. [6] IEEE Standard 802. M. 1966. G. IEEE Standards Board. January 1958. S. “A broadband underwater acoustic modem implementation using coherent OFDM. Stojanovic. “Orthogonal frequency division multiplexing”. “Kineplex. Zhijie Jerry Shi.488445. M. Sept.Willett. issued January 6. 76. of OCEANS. [2] M. “Pilot-tone based ZP-OFDM demodulation for an underwater acoustic channel.” in Proc. filed November 14. [10] Robert Chang. R.” in Proc. of OCEANS. of National Conference for Undergraduate Research. 65 . 2006. Sept. Li. Stojanovic. Anicette. a bandwidth-efficient binary transmission system”. L. Li. [8] Digital Signal Processing and Applications with the C6713 and C6416 DSK” By Rulph Chassaing Worcester Polytechnic Institute. 2007. Patent 3. Clabaugh.REFERENCES [1] Hai Yan. Piscatawa. [7] IEEE Standard 802. Mosier and R. June 2007.

[15] Louis Thibault.488445. “Orthogonal Frequency Division Multiplexing: A Multi Carrier Modulation Scheme”. pp. “Orthogonal frequency division multiplexing”. 41. No. Weinstein. March 1997.etsi. Vol.1. Vol. 1999 [20] Yiyan Wu. 392 – 399 66 . Johnsson. William Y. online: http://www. Channel Coding and Modulation for Digital Terrestrial Television”.com/site/specific/specmain/specwh. 64 – 75 [16] Ulrich Reimers. pp. 628 – 634. “Performance Evaluation of COFDM for Digital Audio Broadcasting Part I: Parametric Study”. US. channel coding and modulation for 11/12 GHz satellite services”. Zou. filed November 14. Paul M. Vol. the Bell System Technical Journal. “Data Transmission by Frequency-Division Multiplexing Using the Discrete Fourier Transform”.htm. IEEE Transactions on Communication Technology. IEEE Transaction on Consumer Electronics. IEEE Communications Magazine. 104 .hiperlan2. August 1997. August 1995. Online: http://www.[12] Robert Chang. [13] Robert Chang. June 1998. pp. 6. December 1966. 1970. Online: http://www. “Digital Video Broadcasting”. “Framing Structure. 1966.110 [17] ETSI EN 300 421. 1775 -1796. COM-19. 3. “Synthesis of Band-Limited Orthogonal Signals for Multichannel Data Transmission”.org [18] ETSI ETS 300 744. No. pp. No. March 1997. issued January 6. pp. [14] [19] M. Patent 3. pp. “Framing Structure. Ebert. “HiperLAN/2 – The Broadband Radio Transmission Technology Operating in the 5 GHz Frequency Band”. October 1971. 5.etsi. B. 43. IEEE Transactions on Broadcasting. Minh Thien Le.