Wavelet OFDM for Power Line Communication

Wavelet OFDM for Power Line Communication By Sagar Chandra Kar B.Sc, Daffodil International University, Dhaka, Bangladesh, 2010 A Project presented...
5 downloads 0 Views 1MB Size
Wavelet OFDM for Power Line Communication

By

Sagar Chandra Kar B.Sc, Daffodil International University, Dhaka, Bangladesh, 2010

A Project presented to Ryerson University in partial fulfillment of the requirements for the degree of

Master of Engineering

In the Program of Electrical and Computer Engineering Toronto, Ontario, Canada, 2014 ©Sagar Chandra Kar 2014

AUTHOR'S DECLARATION FOR ELECTRONIC SUBMISSION OF A THESIS

I hereby declare that I am the sole author of this project. This is a true copy of the project, including any required final revisions, as accepted by my examiners. I authorize Ryerson University to lend this project to other institutions or individuals for the purpose of scholarly research. I further authorize Ryerson University to reproduce this project by photocopying or by other means, in total or in part, at the request of other institutions or individuals for the purpose of scholarly research. I understand that my project may be made electronically available to the public.

ii

Wavelet OFDM for Power Line Communication Master of Engineering 2014 Sagar Chandra Kar Electrical and Computer Engineering Ryerson University

Abstract Power line Communication (PLC) system offers cheaper mode of signal communication facilities. In fast Fourier transform (FFT) based multicarrier PLC system, a cyclic prefix (CP) of the same length of the channel impulse response is added to each symbol in order to transmit data. As a result, there is always an inherent wastage of bandwidth and resources. This research presents a wavelet transform based orthogonal frequency division multiplexing (WTOFDM) approach that eliminates the need for these cyclic prefix and improves the efficiency of the PLC transmission. The presented PLC model is designed for faster and efficient transmission over the power line. The obtained results indicate that the proposed approach enhances the transmission throughput; provides better performance for impulsive noise, and increases the efficiency of the PLC system as a whole. In the end a performance comparison of different wavelet techniques have also been incorporated.

iii

Acknowledgments I would like to express my sincere appreciation to my supervisor, Dr. Xavier Fernando, for his excellent guidance and immense patience throughout this work. I want to thank him for all the long technical conversations which had a significant impact on the research conducted in this work and I would like to thank him for his understanding, support and during the difficult time of my studies. I would like to thank Dr. Kaamran Raahemifar for serving as my committee members and reviewing my research project. I would like to thank all my friends and colleagues who were really helpful to me throughout the work. Most importantly I would like to thank my families who have always been a source of encouragement throughout my life. Finally, I would also like to thanks the Department of Electrical and Computer Engineering, Center for Urban Energy (CUE), Mitacs, Toronto Hydro Electric System for funding this research work.

iv

Contents 1. Introduction

01

1.1 Power Line Communication

01

1.2 Wavelet Transform

02

1.3 Wavelet Transform in PLC

02

1.4 Previous Research Work

03

1.5 Organization of the Report

05

2. OFDM and Power Line Channel

08

2.1 Modulation Scheme for PLC

08

2.2 OFDM

10

2.2.1 OFDM Spectral Overlap

12

2.2.2 OFDM Symbol Structure

13

2.2.3 OFDM System

13

2.2.4 OFDM System Design

14

2.2.5 Advantage of OFDM

15

2.2.6 Problems of OFDM

16

2.3 Noise in PLC

18

2.4 Power Line Channel

21

2.5 Response of Filter

22

2.6 Model Configuration

23

3. Wavelet Transform

26

3.1 Wavelet Transform

26

3.2 Wavelet OFDM over PLC

30

3.3 Multiresolution

31

3.4 Advantage of Wavelet Transform

32

4. Wavelet Filter

35

4.1 Haar Wavelet

35

4.2 Daubechies Wavelet

37

4.3 Bi-orthogonal Wavelet

38

4.4 Reverse Bi-orthogonal Wavelet

43

v

5. Simulation & Result

44

5.1 Simulation of Different Wavelet Filter

44

5.2 Simulation Model

45

5.4 Performance against Noise

48

6. Conclusion 6.1 Conclusion Bibliography

51 51 52

vi

List of Figures 1.1: Frequency Characteristics of PLC

02

2.1: Single Carrier Technique of PLC

09

2.2: Spreading Carrier Technique of PLC

10

2.3: OFDM Technique for PLC

11

2.4: Bandwidth Comparison of OFDM and FDM

12

2.5: OFDM Symbol Structure

13

2.6: OFDM Signal

18

2.7: Noise scenario of PLC

19

2.8: Model of the Power Line Channel

25

3.1: A Two Channel Filter Bank

26

3.2: Wavelet Decomposition Process

31

4.1: Haar Scaling and Wavelet Function

36

4.2: Daubechies Scaling and Wavelet Function

37

4.3: Daubechies Low Pass & High Pass Filter

38

4.4: Bi-orthogonal High Pass and Low Pass Filter

39

4.5: Reconstruction Wavelet Function of Bi-orthogonal Filter

40

4.6: Reconstruction Scaling Function

41

4.7: Decomposition Wavelet Function

42

4.8: Decomposition Scaling Function

42

4.9: Reverse Bi-orthogonal High Pass and Low Pass Filter

43

5.1: Simulation Model of Power Line Channel

45

5.2: Subchannel Selector

46

5.3: Wavelet based Transmitter

46

5.4: Graphical Representation of Wavelet Transform for BER

48

5.5: BER Performance against Noise (Bi-orthogonal 3.9)

49

5.6: BER Performance against Noise (Db2)

49

5.7: BER performance conventional OFDM and Wavelet OFDM

50

vii

Table of Abbreviations AWGN

Additive White Gaussian Noise

BER

Bit Error Rate

BPSK

Binary Phase Shift Keying

CP

Cyclic Prefix

CDMA

Code Division Multiple Access

DIFFT

Discrete Inverse Fourier Transform

IEEE

Institute of Electrical and Electronics Engineers

IFFT

Inverse Fast Fourier Transform

IDWT

Inverse Discrete Wavelet Transform

ISI

Inter Symbol Interference

MAC

Media Access Control

NLOS

Non Line of Sight

OFDM

Orthogonal Frequency Division Modulation

PAM

Pulse Amplitude Modulation

PSK

Phase Shift Keying

PLC

Power Line Communication

PHY

Physical Layer

QAM

Quadrature Amplitude Modulation

SNR

Signal to Noise Ratio

UWB

Ultra Wide Band

WTOFDM

Wavelet Orthogonal Frequency Division Modulation

viii

Chapter 1: Introduction 1. Introduction Transmission of digital data through existing electric network which can reach the end user over the low voltage AC lines is a new concept. The core competency of PLC systems lies in the advantage that it does not involve in any additional interference that may impact the power transmission quality as whole. Power line communication (PLC) technology is well suited for the challenges posed by smart grid, multimedia and utilities i.e., broadband internet services, smart home security and audio/video streaming. With the advancement of PLC technologies the international committees like IEEE and ITU have already acknowledged the PLC standard under the umbrella of IEEE as IEEE 1901.

1.1 Power Line Communication: PLC is an economical and practically implementable technology that provides often high speed internet access while consuming less power. It also provides utility applications such as vehicle data communication, advance metering, real time energy pricing control, peak shaving, monitoring, distributed energy generating, traffic light and street light control and other municipal applications. This technology has been also used for smart grid application. A PLC system consists of a broadband and narrowband communication. Broadband PLC provides faster internet access and supports small Local area networking [1], while narrowband serves specific applications such as central management of power consumption, remote meter reading, commanding and many more. The primary differences between narrowband (low speed) and broadband (high speed) PLC are bandwidth and carrier frequency. Narrow band PLC uses carrier frequencies lower than 500 KHz, which have higher noise. While broadband PLC uses higher frequency, which have lower noises in comparison to lower frequencies. The higher frequency range improves the data rate for transmissions over longer distances. In figure 1 it shows the transfer characteristics of the power line channel. In this figure we have shown that high frequency has lower noise.

1

Figure 1.1: Transfer characteristics of PLC [2]

1.2 Wavelet Transform Wavelet transform is a mathematical analysis when signal frequency varies over time. For certain classes of signals and images, wavelet analysis provides more precise information about signal data than other signal analysis techniques. Common applications of wavelet transforms include speech and audio processing, image and video processing and biomedical imaging applications in communications and geophysics

1.3 Wavelet Transform in PLC Conventionally PLC is carried out by FFT, an important numerical algorithm, which computes the Discrete Fourier Transform (DFT) of the transmitter signals before carries the digital data over the existing electric network. Due to some disadvantages of FFT such as adequate guard interval, poor spectral properties for high degree of spectral leakage, poor narrowband interference and transmission inefficiency (due to GI and produce low data rate). Wavelet is an alternative transformation technique that can be used in PLC system. Wavelet transform is a mathematical analysis that extracts information from many different kinds of data, including – but certainly not limited to – audio signals and images. For certain classes of signals, wavelet 2

analysis provides more precise information about signal data than other signal analysis techniques such as FFT. Discrete wavelet transform (DWT) is the sampled version of the continuous wavelet which is based on sub-band coding and is known for its fast computation of Wavelet Transform. DWT is easy to implement and provides substantial reduction in computation time and resources required for representing digital signals. Common applications of DWT are video compressing, internet communications, object reorganization, numerical analysis, biomedical imaging applications in communications and geophysics [9]. In wavelet-based OFDM, the wavelet transform replaces FFT block. WTOFDM system has better spectrum efficiency over the conventional OFDM since the subcarriers are necessarily need no guard interval and no pilot tones as required in conventional. WTOFDM can be designed in such a way that can meet the concept of smart grid, home multimedia, and several utilities such as broadband internet services. It offers an excellent performance in different signal transmission environment and for this reason it is considered as a potential candidate for PLC systems. Due to the fact that delay spreads in the power line are much smaller compared to other environments, the transmission symbols in WTOFDM can be made much shorter and, therefore, WTOFDM offers much better robustness to impulse noise. Furthermore, WTOFDM provides higher transmission efficiency, deeper notches, and lower circuit cost, time frequency localization and robustness against impulse noise. In the next section we will discuss the previous research work of this field.

1.4 Previous Research Work: This research work has been done to study better transmission efficiency for power line communication. In this research work, we have modeled the PLC system with wavelet transform to provide better transmission efficiency. PLC system is used for alternative data channel because of the importance of the networking at homes and offices, business buildings. In [1], they have mentioned the uniqueness and standard of the power line communication. Testing and verification standards

3

for the commonly used hardware, primarily couplers, enclosures for broadband over power line (BPL) installations and installation methods to enable compliance with applicable codes. In [2], the authors provide detail idea of the development of power line communication systems, channel properties, interference scenario and suitable transmission method. Their work also provides a basic estimation of the power line channel capacity and clearly demonstrates enormous potential for high speed communication purpose. The authors also present evaluation of different modulation schemes which is carried to optimize PLC system design. Their work also provides the idea of developing PLC systems which utilize the high channel capacity and brief description of the interference scenario. In [3], authors present the idea that PLC is an excellent candidate for providing broadband connectivity as it exploits an already existing infrastructure. They have also mentioned that this infrastructure is much more pervasive than any other wired alternative and it allows virtually every line powered device to become the target of value added device. They also discuss the importance of standardization in the PLC context and provide an overview of the current activities of the IEEE 1901 also describes some of the technical challenges that the future 1901 must address to ensure the success of PLC in the marketplace. In [4], authors present the standardization activities for broadband over power line networks. They also mentioned that the standard is designed to meet both in home and multimedia and utility application requirements including smart grid and also describes the aspects of PLC technologies designed to address the access cluster. They also explained differences between accesses in home applications, including addressing methods, clock synchronization, smart repletion, quality of service, power saving and other access unique mechanism. In [6], authors present a PLC technology is seemed as an alternative data channel. In their paper they have approached an OFDM communication model, model of power lines and noise model. Their model of power lines are modeled as an environment of multipath signal propagation. Moreover, the model is designed for sample network topology and resulting channel model was constructed consisting of power line model and the source of interference. Their work provides computer apparatus for creating models and modeling power lines for the 4

simulation of data transmission over power line. Their model offers to carry out the investigations in different network topologies and study their system on communication system. Their PLC communication model can be used for comparison of the performance of different modulation and coding schemes and for future standardization. In [7], authors compared OFDM and WTOFDM with respect to some specific aspects of the power line channel. On the basis of their investigation, they have concluded that W-OFDM is a better MCM scheme compared to OFDM because it exhibits higher transmission efficiency, deeper notches, and lower circuit cost as fewer carriers than in conventional or windowed OFDM. In [8], authors analyze the application of wavelet transform as an alternative to the conventional Fourier-based multicarrier UWB systems. In Fourier based multicarrier UWB systems a cyclic prefix (CP) with the same length of the channel impulse response must be added to each symbol in order to convert linear convolution into circular convolution. The CP must consist of identical copies of the transmitted data in each symbol and therefore is a waste of bandwidth and resources. They present a framework for wavelet based multicarrier UWB systems and it is shown that they do not require the cyclic prefix for transmission and hence throughput increases. Moreover, a closed form formula is derived to represent convolution counterpart in the wavelet domain. Finally, a performance comparison of both techniques is provided. In [10], authors presents a model of the complex frequency response of PLC links for the frequency range from 500 kHz to 20 MHz has been derived from physical effects, namely multipath signal propagation and typical cable losses. This paper also deals with attenuation profiles.

In [12], authors present an experimental study of indoor power line channel in high frequency range, and a system level simulation model for very broadband power line communication, at a very high bit rate of 200Mbit/s. Their system model is based on the MBOFDM proposal submitted to the IEEE 802.15.3a standard group and the concept used in UWB communication is applied to the power line channel. An extensive measurement campaign has been carried out and a 500 MHz band width in 50 - 550 MHz range has been defined or the use 5

of data transmission over broadband power line channel. Based on the measured power line channel transfer function, the modified MB-OFDM simulation model and the BER performance of different power line channels has been simulated under AWGN. Their works show that high transmission rate can be achieved over the broadband power line channel even when electrical loads are connected. All their results indicate that the power line provides a promising path for very high data rate transmission. In [13], authors present a model of the complex frequency response of PLC links for the frequency range from 500 kHz to 20 MHz and it has been derived from physical effects, namely multipath signal propagation and typical cable losses. Measurements at a test network with wellknown parameters prove good agreement between simulation and measurement results. They also demonstrated the applicability of the model to real world networks. Their presented model offers the possibility to carry out investigations for different network topologies and to study their impact on PLC system performance by means of simulations. They also explain attenuation profiles and detailed models for individual links can be set up and reference models of typical channels of PLC. In [16], authors present a deterministic model describing the magnitude and phase of complex transfer functions of power-line networks using only one parameter. They also perform time–frequency analysis in both frequency bands 30 kHz–100 MHz and 2 MHz–100 MHz. Their investigation is aimed to show that the PLC channel studies in a band starting from a frequency lower than 2 MHz distorts the real values that an implementer should take, as the PLC modem only sees frequencies from 2 MHz. This report investigates transmission efficiency of power line communication and simulates power line model with Simulink. It presents a PLC model that is designed for faster, higher throughput and more efficient transmission over the power line.

6

1.5 Organization of the Report: This report is organized as follows. Chapter 1 begins with the brief introduction of power line communication and also discuss about the previous research work of this field. Chapter 2 describes about the details about the OFDM and modulation scheme of PLC. It also includes the power line channel. Chapter 3 includes the wavelet transforms and mathematical derivation of wavelets. Chapter 4 presents different kinds of wavelet filters and filter structure of those wavelets. Chapter 5 summarizes our results and chapter 6 concludes this report with suggestions for future work.

7

Chapter 2: OFDM and Power Line Channel In this chapter we have studied about the modulation schemes of PLC and details about the OFDM. This chapter also includes the details of power line channel.

2.1 Modulation Schemes for PLC: Power line channels differ significantly from other well-known channels, special care is necessary to select a modulation scheme that uses the high capacity of these channels optimally and offers good noise robustness. The next section analyzes some modulation schemes that come into consideration to find an optimal solution for PLC systems. Additional important step is the selection of suitable modulation schemes and their adaptation toward an optimal PLC system. The adaptation can be performed within the transmitter or receiver or both. Single transmitter adaptation allows frequency ranges with low attenuation and interference to be selected in order to improve the realizable data rate. PLC systems design can be observed as a highly challenging task as the engineer has to deal with very limited resources in a hostile environment, which in no way has been or could be prepared for communications purposes. For enhancements of the data rate it is not possible to extend bandwidth or assign new frequency ranges. Only more sophisticated modulation schemes with improved spectral efficiency or adaptation strategies such as impulsive noise cancellation can push technology forward. However, economic clearance is also narrow, as most of the PLC applications fall into low-cost ranges. Transmission method for Power line Communication Channel:  Single carrier technology  Spread spectrum  OFDM technology Single Carrier Technique for PLC: In this technique information is encoded in amplitude, phase or frequency changes of the carrier. A modulation scheme can be characterized for example by its spectral efficiency. Single carrier modulation does not provide high data rates but PLC technology often aim at high data rate and maximum spectral efficiency (How many bits transferred in 1Hz). In figure 2.1 we have shown the diagram of a single carrier PLC 8

transmission system. Moreover, implementing high data rates results in the generation of contiguous wideband transmission signals generally centered on the carrier. Due to notches and the low pass character of the channel such signals are seriously affected, so the performance is poor. In the access domain where typical delay spreads are around 10µs dramatic inter-symbol interference would occur already for data rates far below 100kb/s [3].The system which is used single carrier transmission, an equalizer might be required to mitigate the effect of channel distortion. The complexity of the equalizer depends upon the severity of the channel distortion and there are usually issues such as equalizer non linarite and poor propagation etc, which cause additional trouble.

Figure 2.1: Single carrier technique of PLC

Spread Spectrum Technique: Spread spectrum techniques (SST) seem to be a good choice for PLC due to their immunity against selective attenuation and all kinds of narrowband interference. An additional interesting feature of SST, which is the low power density for the transmitting signals. Moreover, media access can be accomplished by code division multiple access. In this technique, the carrier is conventionally modulated with the data stream. Thereby a spectrum of approximately the doubled the message bandwidth is generated. A further modulator inserts fast 0°/180° phase hops according to pseudo noise sequence. After that the transmission signal exhibits a bandwidth of approximately twice the clock frequency. At the receiver the same frequency must be available, synchronized to the received signal. If narrow band interference is appears at the receiver, it is subject to spreading the process, it is subject to the spreading process, on only a small portion corresponding to the 9

message bandwidth can impair the desired signal. As with CDMA, the entire frequency band is open to each participant, so access does not need to be coordinated. Each active participant increases the background noise for all users. The more participants become active, than the probability is higher for mutual disturbance. Therefore there is a tradeoff between quality of service and permissible number of active participants. In figure 2.2 we have shown the diagram of a spread spectrum technique for PLC transmission system. More sophisticated modulation scheme with improved spectral efficiency and ability to cancel the impulsive noise can push this technology further. This is the reason; most experts in the field have concentrated on multicarrier techniques, in particular orthogonal frequency division multiplexing (OFDM).

Figure 2.2: Spread spectrum technique of PLC

2.2 OFDM (Orthogonal Frequency Division Multiplexing): OFDM is a well-established multi carrier technique and special case of FDM (frequency division multiplexing). This technology is used in PLC. Orthogonally of all sub carriers lead to high spectral efficiency which is the key element of a successful high speed PLC and it provides proper demodulation of the symbol streams without the requirement of non-overlapping spectra. OFDM exhibits robustness against various kinds of interference and enable multiple accesses. In compare to SST the spectrum used by OFDM is used by OFDM is segmented into several narrow sub-channels.

10

Due to the sub-channel narrowband property, attenuation and group delay are constant within each channel. Moreover, the orthogonal property of the carriers provides the outstanding spectral efficiency and the success of high speed PLC. Another advantage of OFDM is adaptability and in the future it is expected that OFDM will become the most favorable modulation scheme in all PLC application field. In figure 2.3 we have shown the diagram of OFDM technique for PLC transmission system.

Figure 2.3: OFDM technique for PLC

Orthogonal Frequency Division Multiplexing (OFDM) is a technique that divides the bandwidth into multiple frequency subcarriers. In an OFDM system, the input data stream is divided into several parallel sub streams of reduced data rate and each sub-stream is modulated and transmitted on a separate orthogonal subcarrier. The increased symbol duration improves the robustness of OFDM to delay spread. OFDM also uses multiple subcarriers but the subcarriers are closely spaced each other without causing interference, removing guard bands between adjacent subcarrier. In OFDM, subcarriers are spaced by 1/𝑇𝑠 and all the subcarriers are orthogonal to each other.OFDM waveform eliminates the inter symbol interference problems and the complexities of adaptive equalization. Two periodic signals are orthogonal when the integral of their product, over the period is equal to zero. Two signals 𝑔1 (𝑡) and 𝑔2 (𝑡) are said to be orthogonal over the period 𝑇𝑠 if

𝑇𝑠 0

𝑔1 𝑡 ∗ 𝑔2 𝑡 𝑑𝑡 = 0

(2.1) 11

In order to for this orthogonally to be preserved the following must be true  The receiver and the transmitter must be perfectly synchronized. This mean they both must assume exactly the same modulation frequency and the same time scale for transmission.  There should be no multipath channel. 2.2.1 OFDM Spectral Overlap: OFDM is similar to FDM but much more spectrally efficient by spacing the sub-channels much closer together. This is done by finding frequencies that are orthogonal, which means that they are perpendicular in a mathematical sense. It is allowing the spectrum of each sub-channel to overlap another without interfering with it. In figure 2.4 the effect of spectral overlap is seen as the required bandwidth is greatly reduced by removing guard bands and allowing signals to overlap. For conventional OFDM Discrete Fourier transform and Inverse Discrete Fast Fourier transform are needed.

Figure 2.4: Bandwidth comparison of OFDM and FDMA

12

2.2.2 OFDM Symbol Structure: An OFDM signal is a sum of sub-carriers that are individually modulated by different modulation scheme. In this report, we have used 256 subcarriers with 192 data subcarriers, 8 pilot subcarriers and 56 nulls. Modulation scheme (PSK, QAM) is typically employed to increase the data throughput. A data stream would be split into 192 parallel data streams each at 1/192 of the original rate. Each stream is then mapped to the individual data subcarrier and modulated using wish modulation scheme (QAM, PSK). Pilot sub carriers provide a reference to minimize frequency and phase shifts during the transmission while null carriers allow for guard bands and the DC carrier (center frequency). All the sub carriers are sent at the same time. In figure 2.5 we have shown the OFDM symbol structure.

Figure 2.5: OFDM symbol structure

2.2.3 Conventional OFDM System Implementation: The implementation of OFDM system is achieved through the mathematical operations called Discrete Fourier transform and its counterpart Inverse Discrete Fourier transform. These two operations are extensively used for transforming data between the time domain and frequency domain. In OFDM, these transforms can be seen as mapping data on to orthogonal subcarriers. So the transmitted signal is, 𝑥𝑚 𝑛 =

𝑁−1 𝑘=0 𝑆𝑚

𝑘 𝑒 𝑗 2𝜋𝑛𝑘 /𝑁

(2.2)

where, 𝑆𝑚 is the transmitted symbol and 𝑥𝑚 is the transmitted signal.

13

If the received signal of OFDM is 𝑦𝑚 , 𝑕𝑚 denotes the channel impulse response and 𝑧𝑚 denotes the noise, 𝑦𝑚 𝑛 =

𝐿−1 𝑙=0 𝑥𝑚

𝑙 − 𝑛 𝑕𝑚 𝑙 + 𝑧𝑚 𝑛

(2.3)

If the received signal of OFDM in frequency domain denoted by 𝑦𝑚 𝑘 , 𝑦𝑚 (𝑘) = 𝑆𝑚 (𝑘) + 𝐻𝑚 (𝑘) + 𝑍𝑚 (𝑘)

(2.4)

Now channel frequency response is denoted by 𝐻𝑚 , 𝐻𝑚 (𝑘) = 𝑦𝑚 (𝑘)/𝑆𝑚 (𝑘)

(2.5)

Above equations describes the frequency domain data and time domain data. IDFT correlates the frequency input data with its orthogonal basis function, which are sinusoids at certain frequencies. In other ways, the correlation is equivalent to mapping the input data onto the sinusoidal basis functions. At the transmitter side, an OFDM system treats the source symbols as though they are in the frequency domain. These symbols are feed to an IFFT which brings the signal into the time domain. In OFDM, a very high rate data stream is divided into multiple low rate data streams. Each smaller data stream is then mapped to individual data subcarrier and modulated using some sorts of modulation scheme (PSK, QAM, BPSK, QPSK, 16-QAM, 64-QAM). The term OFDM is frequently followed by the number that depicts the potential number of subcarriers (including guard band subcarriers) in the signal. At the receiver side, The OFDM receiver uses a time and frequency synchronized FFT to convert the OFDM time waveform back into the frequency domain. In this process the FFT picks up the discrete frequency samples, corresponding to just the peaks of the carrier. 2.2.4 OFDM System Design: To design a system involves a lot of tradeoff and requirements. The following are the most important design parameters of an OFDM system. The following are most important design parameters of an OFDM system. Guard Time: Guard time is an OFDM system usually results in SNR loss in OFDM system, since it carries no information. The choice of the guard time is straightforward once the multi14

path delay spread is known. The guard time must be least 2-4 times the RMS (root mean square) delay spread of the multi-path channel. Further, higher order modulation schemes are more sensitive to ISI and ICI than simple schemes like QPSK and BPSK. This factor must also be taken into account while deciding on the guard time. Symbol Duration: To minimize the SNR loss due to the guard time, the symbol duration must be set much larger than the guard time. But an increase in the symbol time implies a corresponding increase in the number of subcarriers and thus an increase in the system complexity. A practical design choice for the symbol time is to be at least five times the guard time, which leads to an SNR loss that is reasonable. Number of Subcarriers: Once the symbol duration is determined, the number of subcarriers required can be calculated by first calculating the subcarrier spacing which is just the inverse of the symbol time (less the guard period). The number of subcarriers is the available bandwidth divided by the subcarrier spacing. Modulation and Coding Choices: The 1st step in deciding on the coding and modulation techniques is determining the number of bits carried by an OFDM symbol. Then, a suitable combination of modulation and coding techniques can be selected to fit the input data rate into the OFDM symbols and at the same time, satisfying the bit error rate requirements. 2.2.5 Advantages of OFDM: Multipath Delay Spread Tolerance: In OFDM, the symbol time is increased by N times (N is the number of subcarriers), which leads to corresponding increase in the effectiveness of OFDM against the ISI caused due to multipath delay spread. Using cyclic extension process and proper design, ISI can completely eliminate from the system. Effectiveness against Channel Distortion: In addition to delay variations in the channel, the lack of amplitude flatness in the frequency response of the channel also causes ISI in digital communication systems. In OFDM system the bandwidth of the subcarrier is very small; the amplitude response over this narrow bandwidth will be basically flat. Even in the case of extreme amplitude distortion, an equalizer of very simple structure will be enough to correct the distortion in each subcarrier. 15

Throughput Maximization: The use of subcarrier modulation improves the flexibility of OFDM to channel fading and distortion and makes it possible for the system to transmit at maximum possible capacity using a technique called channel loading. Suppose the transmission channel has a fading notch in a certain frequency range corresponding to a certain subcarrier. If we can detect the presence of this notch by using channel estimation schemes and assuming that the notch does not very fast enough compared to the symbol duration of the OFDM symbol, it can be possible to change the modulation and coding schemes for this particular subcarrier, so that capacity as a whole is maximized over all the subcarriers. However, this requires the data from the channel estimation algorithms. Robustness against Impulsive Noise: Impulsive noise is usually a burst of interference caused in channels such as power line cables, twisted pair cables and wireless channels affected by atmospheric phenomena such as lighting. It is common for the length of the interference waveform to exceed the symbol duration of a typical digital communication system. OFDM systems are inherently robust against impulse noise, since the symbol duration of the OFDM signal is much larger than that of the corresponding single carrier system and thus less likely that impulse noise might cause symbol errors. Frequency Diversity: OFDM is the best place to employ frequency diversity. It is inherently present in the system. This system provides several advantages for transmission. There are some problems in OFDM which is discussed below: 2.2.6 Problems in OFDM Peak Power problem in OFDM: One of the major problems in OFDM transmission is that, it exhibits a high peak to average ratio. The OFDM symbol is basically sum of N complex random variables, each of which can be considered as a complex modulated signal as different frequencies. In some cases, all the signal components can add up in phase and produce a large output and in some other cases they may cancel each other producing zero output. The problem of peak to average ratio (power) is more serious in the transmitter. In order to avoid clipping of the transmitted waveform, the power amplifier at the transmitter frontend must have a wide linear range to include the peaks of the transmitted waveform. Building power amplifiers which such wide linear ranges is a costly affair. 16

Error Control Coding: One of the problems with clipping is the degradation in BER. Specifically, the symbols that have a large PAR ratio are vulnerable to errors. To reduce this effect, forward error correction method (FEC) can applied across several OFDM symbols. When FEC is applied, the error caused due to large PAR in particular symbols can be corrected by the surroundings symbol. Peak Cancellation: Another method of removing the peaks in a OFDM signal is to subtract a time shifted and scaled reference function such that each subtracted reference function such that each subtracted reference function reduces the peak power of at least one signal sample. It is desirable to choose a signal with approximately the same bandwidth as the transmitted signal. The most commonly used peak cancelling function is the sine function because of its desired frequency domain properties. The sine function can be time-limited by multiplying raised cosine window. It can be shown that the peak cancelation will result in a lesser out of band interference than the clipping and windowing technique. PAR Reduction Codes: A more elegant solutions to the PAR problem is the use of coding techniques. The PAR can be reduced by using a code that only produces OFDM symbols for which the PAR is below in desired level. The more the reduction in the PAR, the smaller is the coding rate. A lot of research papers have been published on the usages of Golary codes for OFDM transmission that deals with the efficient generation of PAR reduction code and the optimal and suboptimal decoding and other properties. 2.2.7 Synchronization in OFDM Systems: Another important issue in OFDM transmission is synchronization. There are basically three issues 1. The receiver has to estimate the symbol boundaries and optimal timing instants that minimize the effects of inter carrier interference and inter symbol interference. 2. In an OFDM system, the subcarriers are exactly orthogonal only if the transmitter and the receiver use exactly the same frequencies. Thus receiver has to estimate and correct for the carrier frequency offset of the received signal. 3. The phase information must be recovered if coherent demodulation is employed. In figure 2.6 we have shown the OFDM signal. 17

Figure 2.6: OFDM signal

2.3 Noise in PLC: Noise is major issue of power line communication. PLC is subjected to impulsive noise and narrow band interference. Power lines do not represent additive white Gaussian noise (AWGN) channels. The interference scenario is rather complicated as not only colored broadband noise but also narrowband interference and different types of impulsive disturbance occur. Figure 2.7 presents an overview of the noise scenario. After passing the channel with the impulse response h(t) the transmitted signal s(t), where a variety of interference n(t) is added, before the signal r(t) arrives at the receiver. According to [2], the interference scenario can be roughly separated into five classes, denoted colored background noise, narrowband noise, periodic impulsive noise synchronous or asynchronous to the mains frequency (usually 50 or 60 Hz), and asynchronous a periodic impulsive noise. A similar classification in background, narrowband, and impulsive noise can be found in [2].Colored background noise is characterized by a fairly low power spectral density, which significantly increases toward lower frequencies. This kind of noise can be approximated by several sources of white noise in non-overlapping frequency bands with different noise amplitudes [2]. It is caused for example such as household appliances like computers or hair dryers, which can cause disturbances in the frequency range of up to 30 MHz.

18

Periodic impulsive noise(syn)

Narrow band Noise

Periodic Impulsive noise (asyn)

(+) Colored Noise Asynchronous Impulsive Noise

S(t)

H(f)

R(t)

Figure 2.7: Noise scenario of PLC

Narrowband interference normally consists of modulated sinusoids, the origin of which are broadcast radio stations in the frequency range of 1–22 MHz (typical) [2]. Figure 2.7 includes an example of a measurement showing colored background noise together with typical narrowband interference. Impulsive noise can be classified as periodic and a periodic. Periodic impulsive noise is further divided into interference synchronous or asynchronous to the mains frequency. The synchronous portions are mainly caused by rectifiers within DC power supplies and appliances. The periodic asynchronous portions exhibit considerably higher repetition rates of 50–200 kHz. Such interferences mainly caused by extended use of switching power supplies found in various household appliances today. Asynchronous impulsive noise is mainly caused by switching transients, which occur all over a power supply network at irregular intervals. In this report we have used two different kinds of noise for modeling the PLC. We have used Gaussian noise and Rician noise.

19

The probability density function 𝑃𝑔 of a Gaussian random variable is given by, 𝑃𝑔 𝑧 =

1 𝜎 2𝜋

∗𝑒



𝑧−𝜇 2 2𝜚 2

(2.6)

where, 𝜇 is the mean and 𝜚 is the standard deviation. The Rician Noise generates Rician distributed noise. The Rician probability density function is given by, 𝑓 𝑥 =

𝑥 𝜎2

𝐼0

𝑚𝑥 𝜎2

𝑒𝑥𝑝 −

𝑥 2 +𝑚 2 2𝜎 2

(2.7)

where, σ is the standard deviation of the Gaussian distribution that underlies the Rician distribution noise and 𝑚2 = 𝑚12 + 𝑚𝑞2 , where m1 and mq are the mean values of two independent Gaussian components I0 is the modified 0th-order Bessel function. Another issue is that power line cables are shared medium and power lines do not provide dedicated links to the subscriber. Normally power line cables connect low voltage transformer to set up individual homes or multiple house units. Power line cables are shared among a set of users. The signal which is generated from one source may interfere with the signals that are generated from the adjacent sources. Correspondingly several sources together in a geographical area create high interference in power line cables. As we know when interference increases the data rate decreases because of the packet collision. This incident also happens for wireless and other medium. In the next section we are describing about power line channel.

20

2.4 Power Line Channel: Power line channels differ significantly from other well-known channels, special care is necessary to select a modulation scheme that uses the high capacity of these channels optimally and offers good noise robustness. The next section analyzes some modulation schemes that come into consideration to find an optimal solution for PLC systems. Additional important step is the selection of suitable modulation schemes and their adaptation toward an optimal PLC system. The adaptation can be performed within the transmitter or receiver or both. Single transmitter adaptation allows frequency ranges with low attenuation and interference to be selected in order to improve the realizable data rate. In power line communication, channel is a very important factor which is often used for high speed data communication. Various kinds of application can be possible by power line channel. At the beginning, only few kilobits are transferred in a second. Due to high speed data communication feature of power line channel, researchers now days finding it interesting to further develop this technology. The idea of the power line channel is using the electric power distribution grid for communication purpose. It is also called last mile solution. The basic idea is using the cables between the transformer substation and the customers which will work as an access medium for high speed internet. The complex transfer function of the power line channel [2] is, 𝐻 𝑓 =

𝑁 −𝑗 2𝜋𝑓 𝜏 𝑖 𝑖=1 𝑃𝑖 𝑒

(2.8)

where, the impulse response is multiplied by the complex factor 𝑃𝑖 and delayed by time 𝜏𝑖 . Normally PLC channel represents the superposition of signals from N different paths each of which is weighting factor 𝑔𝑖 , length 𝑑𝑖 and frequency dependent attenuation parameters are 𝑎𝑜 , 𝑎1 and k [2].The power line channel is characterized as well for impulsive noise, synchronous and asynchronous noise, narrow band noise and attenuation. 𝐻 𝑓 =

𝑁 𝑖=1 𝑔𝑖

𝑒 − 𝑎 0 +𝑎 1 𝑓𝑘 𝑑𝑖 . 𝑒

𝑗 2𝜋𝑓𝑑𝑖

− 𝑣𝑝

(2.9)

where, 𝑣𝑝 represents the echo scenario 𝑎𝑜 , 𝑎1 and k represent the frequency dependent attenuation. The impulse response gives the information about the time delay of each path which 21

is proportional to 𝑑𝑖 and the weighting factors 𝑔𝑖 can be obtained from the amplitude of each impulse [2]. Design of power line channel is discussed below. Now we can design the low pass filter for power line channel with Simulink.  Hann window function 𝑊 𝑛 = 0.5 ∗ [1 − 𝑐𝑜𝑠

2𝜋𝑛 𝑁

−1 ]

 Condition 0 ≤ 𝑛 ≤ 𝑁 − 1 or 0 otherwise.  (2𝜋𝑛/𝑁 − 1) = 𝜋  Using low pass FIR digital filter and its linear characteristics.  Low pass filter coefficient 𝑕[𝑛] = 𝑊[𝑛]. 𝑕𝑑 [𝑛]  Now 𝑕𝑑[𝑛] = 𝑆𝑖𝑛[𝑊𝑐(𝑛 − 𝑀)]/𝜋(𝑛 − 𝑀) n is not equal to M  n ranges from 0 to N and M is a constant which is 𝑀 = 𝑁/2 Transfer function of designed filter, 𝐻(𝑒 𝑗𝑤 ) =

𝑁 𝑕[𝑛]𝑒 −𝑗𝑛𝑤 𝑛=0

(2.10)

2.5 Response of Filter: Response of the channel is shown in the time domain and frequency domain. To sustain the characteristics of power line channel, we have used Hann window (where the channel consists a low pass digital FIR filter).The advantage of the Hann window is slower aliasing and lower resolution tradeoff (widening of the main lobe). Impulse response of the Filter: The peak impulse response is the mean delay of the system. When we implement the filter in a system a delay needs to be added as well. Adding delay to the system will match the transmitted and received bits. Magnitude response and Phase response of the Channel: The phase response is linear and filter allows the frequency up to 2MHz. It also satisfies the condition of PLC. In PLC, there are

22

lots of frequency bands. Among them 2MHz band is recommended by many researchers because of its high data transfer rate.

2.6 Model Configuration: In this PLC model (the result is shown in chapter 5), a Bernoulli Binary generator is used for the data source. It generates random binary number according to the Bernoulli distribution. The Bernoulli distribution produces “zero” with probability “p” and “one” with probability “1-p”. The Bernoulli distribution has mean value “1-p” and variance “p (1-p)” [9]. In the PLC model, the probability is considered as .5 and output is frame based. After generating the data from Bernoulli distribution, we have encoded the data. At first we have done the convolution coding and then interleaving. The convolution encoder uses a constituent encoder with a constraint length 7 and native code rate ½. The output of the randomizer is encoded using this constituent encoder. The tail-biting convolution code encoder of OFDMA (simply known as CC) works as follows: the convolution encoder memories are initialized by the (six) last data bits of the FEC block being encoded .This OFDMA PHY convolution encoder may employ the Zero-Tailing Convolution Coding (ZT CC) technique. In this case, a single 0 × 00 tail byte is appended at the end of each burst. This tail byte is appended after randomization [9]. The convolution of the two signals is denoted by 𝑆, 𝑆 =𝑓∗𝑔 𝑡 =

𝑡=0 𝑓 𝑥=0

𝑥 𝑔 𝑡 − 𝑥 𝑑𝑥

(2.11)

Interleaving is used to protect the transmission against long sequences of consecutive errors, which are very difficult to correct. These long sequences of error may affect a lot of bits in a row and can then cause many transmitted burst losses. Interleaving can facilitate error correction. The encoded data bits are interleaved by a block inter-leaver with a block size corresponding to the number of coded bits per allocated sub channels per OFDM symbol. The interleaver is made of two steps:  Distribute the coded bits over subcarriers. A first permutation ensures that adjacent coded bits are mapped on to nonadjacent subcarriers.

23

 The second permutation insures that adjacent coded bits are mapped alternately on to less or more significant bits of the constellation, thus avoiding long runs of bits of low reliability. After encoding the data, the modulation is performed. In this simulation, various modulation schemes are used such as BPSK, QPSK and QAM. BPSK: It shifts the carrier signal by 0 or 180 degree depending upon the bits to be transferred. If 0 degree represents 1 then 180 degree will represent 0. 𝑆 𝑡 = 𝐴𝑐 𝑐𝑜𝑠2𝜋𝑓𝑐𝑡0 ≤ 𝑡 ≤ 𝑇 for 1 and 𝑆(𝑡) = −𝐴𝑐𝑐𝑜𝑠2𝜋𝑓𝑐𝑡 0 ≤ 𝑡 ≤ 𝑇. QPSK: Instead of utilizing 2 variations of signal 4 variations is used. Here the phases areπ/4, 3π/4, 5π/4 and 7π/4. QAM: Quadrature amplitude modulation is a combination of ASK and PSK. Maximum bit can be transferred in 64 QAM. 64 QAM has the highest data rate. After modulation process, the orthogonal frequency division multiplexing is performed. After OFDM transmission the data is passed through the PLC channel which consists a Low pass digital filter (FIR). It has the characteristics of low pass FIR filter. Figure 2.8 is the diagram of the power line channel with noise.

24

Figure 2.8: Model of the power line channel

From figure 2.8, we have seen that the channel model of the PLC channel. In this channel model we have considered Gaussian noise and Rician noise to construct the channel. In the later part of the report we have simulated the model and analyze the result.

25

Chapter 3: Wavelet Transform 3.1 Wavelet Transform: As we have discussed about wavelet transform in chapter 1. In this chapter we briefly describe about important properties of wavelet and mathematical derivation of wavelet. Important Properties of Wavelet Transform:  Frequency and time localization.  Symmetric or asymmetric wavelet transforms. Wavelet has perfect reconstruction filters which have linear phase.  Number of vanishing moments. Wavelets with increasing number of vanishing moments result in sparse representations for a large class of signals and images [9].  Regularity of the wavelet. Smoother wavelets provide sharper frequency resolution. Additionally, iterative algorithms for wavelet construction converge faster.  Existence of a scaling function, φ. General Wavelet Transform: To demonstrate a general transform, we use figure 3.1 below, where, an input signal feeds to two channels, each with a pair of FIR filters. We call this structure a two-channel filter bank.

Figure 3.1: A two channel filter bank

The left half of figure 3.1 performs the forward transform, also called analysis, while the right half corresponds to the inverse transform, also called synthesis. Doing the forward and inverse transforms together, we expect that the output of the two-channel filter bank (y[n]) is exactly the same as the input (x[n]), with the possible exception of a time delay, such as 𝑦[𝑛] = 𝑥[𝑛 − 𝑘], where k = 1 for two coefficients. The complementary filters of a filter bank divide the signal into 26

subsignals of low-frequency components and one of high-frequency components. This approach is called subband coding. This is the general system diagram of the wavelet transform. Normally DFT breaks the signal into sinusoidal and discrete wavelet transform generates little waves from a signal. These waves can be added together to reform the signal. There are two steps in the wavelet transform one is decomposition and other is reconstruction. With these two process wavelet transform reconstruct the signal [10].

Down sampling and up sampling: The down sampling operation only keeps the even indexed values. The inverse operation which is known as upsampling usually used by inserting 0 between two consecutive samples. The effect of down sampler followed by an up sampler is that every other value will be 0.

Theory of Wavelet Transform: In this section, we describe the mathematical derivation of continues wavelet transform and discrete wavelet transform. The discrete wavelet transform convolves the input by the shifts (translation in time) and scales (dilations or contractions) of the wavelet. Below variables are commonly used in wavelet theory 𝑔 represents the high-pass (wavelet) filter 𝑕 represents the low-pass (scaling) filter 𝐽 is the total number of octaves 𝑗 is the current octave (used as an index. 1

Suggest Documents