+ All Categories
Home > Documents > Coding in a Discrete Multitone Modulation System

Coding in a Discrete Multitone Modulation System

Date post: 10-Nov-2021
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
28
Division of Signal Processing Coding in a Discrete Multitone Modulation System Daniel Bengtsson and Daniel Landström ( http://www.sm.luth.se/~daniel ) MASTER’S THESIS ISSN 0349 - 6023 1996:051 E ISNR HLU - TH - EX - - 1996/51 - E - -SE
Transcript
Page 1: Coding in a Discrete Multitone Modulation System

Division of Signal Processing

Coding in a DiscreteMultitone Modulation

System

Daniel Bengtssonand

Daniel Landström

( http://www.sm.luth.se/~daniel )

MASTER’S THESISISSN 0349 - 6023

1996:051 E

ISNR HLU - TH - EX - - 1996/51 - E - -SE

Page 2: Coding in a Discrete Multitone Modulation System

2 (28)Coding in a Discrete Multitone Modulation System

Abstract

Discrete Multitone (DMT) modulation is a multicarrier technique which makes efficient use ofthe channel, maximizing the throughput by sending different numbers of bits on differentsubchannels. The number of bits on each subchannel depends on the Signal-to-Noise Ratio ofthe subchannel. The performance of a DMT system can be further increased by using powerfulcoding techniques. This thesis investigates an implementation of coding for a DMT system. Thecoding techniques considered are Reed-Solomon coding combined with interleaving, and TrellisCoded Modulation. Wei’s 4-dimensional 16-state coder combined with trellis shaping is the sug-gested trellis code. A single encoder is used which codes across the tones of each DMT-symbol.At a bit error probability of 10-7 the suggested codes gain 3-6 dB over uncoded transmission.Hardware complexity and algorithmic aspects of coding are covered, as well as simulations toverify it.

Page 3: Coding in a Discrete Multitone Modulation System

3 (28)Coding in a Discrete Multitone Modulation System

Preface

This Master’s thesis has been presented in partial fulfilment of the requirements for the degreeof Master of Science. The work presented in this thesis has been conducted during the autumn of1995, and has been done as a part of developing an experimental system called MUSIC at TeliaResearch AB, Luleå. We would like to warmly thank the other project members, especiallyMikael Isaksson2, the project leader, for their continuous support and inspiration. We would alsolike to give a special thank to our examiner Dr. Per Ödling1 for his help and guidance, and to Dr.Lennart Olsson2 and Dr. Tomas Nordström3 for their never ending patience with our questions.

Luleå, February 21, 1996.

1. Division of Signal Processing at Luleå University of Technology, Sweden.

2. Division of Communications System at Telia Research AB, Luleå, Sweden.

3. Division of Computer Engineering at Luleå University of Technology, Sweden.

Daniel Bengtsson Daniel Landström

Page 4: Coding in a Discrete Multitone Modulation System

4 (28)Coding in a Discrete Multitone Modulation System

Contents

1 Introduction 5

2 System overview 5

3 Techniques 6

3.1 Channel Capacity 63.2 DMT channel model 63.2.1 Bitloading and Energyloading 73.3 Physical channel model 83.4 Reed-Solomon coding 83.4.1 Interleaving 83.5 Trellis Coded Modulation 93.5.1 Wei’s 4-dimensional 16-state coder 93.5.2 Trellis shaping 10

4 Coding for the MUSIC system 12

4.1 Reed-Solomon 124.2 Trellis Coded Modulation 124.3 Concatenated coding 12

5 Simulation 12

5.1 System parameters 135.2 Simplifications 135.3 Results 145.3.1 Available Bitrate 15

6 Hardware Complexity 16

7 Open questions 17

8 Conclusion 18

References 19

Appendix A 20

Appendix B 23

Page 5: Coding in a Discrete Multitone Modulation System

5 (28)Coding in a Discrete Multitone Modulation System

1 Introduction

This thesis discusses aspects of coding in a high-speed communication system. An experimentalsystem called MUSIC (aMu lti-carrierSystem for the InstalledCopper Network) [6] is beingdeveloped at Telia Research AB in Luleå, Sweden. MUSIC is intended for broadband communi-cation over short, less than 1000 m, twisted pair copper cables, at data rates between 10 and 55Mbit/s. The MUSIC system makes use of the multicarrier technique Discrete Multitone (DMT)modulation [13]. DMT is similar to Orthogonal Frequency Division Multiplexing (OFDM),with the difference that DMT carries different numbers of bits on different subchannels. Thissignalling scheme leads to a better usage of the channel capacity. The main purpose of our thesisis to analyse coding for the MUSIC experimental system, and to design a coder with a fair cod-ing gain and a reasonable complexity in both transmitter and receiver. The coding techniquesconsidered are Reed-Solomon (RS) coding [14] combined with interleaving, and Trellis CodedModulation (TCM) [1],[9],[12] combined with trellis shaping [3].

The presentation will proceed as follows. A system overview is given in Section 2. Section 3presents techniques used in the experimental system. These are Discrete Multitone modulation,Trellis Coded Modulation, trellis shaping, Reed-Solomon coding, and interleaving. Differentcoding schemes for the experimental system are discussed in Section 4. In Section 5 computersimulations are given. Simplifications for the simulated system, parameters, and simulationresults are also presented. Section 6 gives a brief introduction to hardware complexity, whilesome open questions are discussed in Section 7. Section 8 concludes the thesis. Appendix Apresents measurements on a copper cable, and Appendix B describes implementation issues.

2 System overview

The coded system is depicted in Figure 1. A source delivers a bit stream which are consideredrandom due to source coding. In the transmitter the bit stream is expanded by the Reed-Solomon(RS) encoder. Redundant bits are added in the RS block, and the interleaving block rearrangesthe expanded bit stream. A bit allocation scheme on the different subchannels is performed, suchthat the number of bits each subchannel is to carry per transmitted symbol is decided. The max-imum bit rate depends on the Signal-to-Noise Ratio (SNR) on each subchannel. Since the chan-nel is stationary these bitloading factors are calculated in an initial training session. Thebitloading factors can be updated if required.

Figure 1. Coded MUSIC system.

Reed-SolomonEncoder

Deinterleaver

TrellisEncoder IFFT P/S Cyclic Prefix

DAC

Trellis

ADC

Remove Cyclic FFTS/P

Channel

Reed-SolomonDecoder

Interleaver

Decoder

Noise

Equalizer

Page 6: Coding in a Discrete Multitone Modulation System

6 (28)Coding in a Discrete Multitone Modulation System

The RS encoded data stream and the bitloading factors are provided to the Trellis encoder (seeSection 3.5). TheM complex sub-symbols which leave the Trellis encoder form a DMT symbol,and are mapped into2M real time-domain samples, using inverse discrete Fourier transform(IFFT). The discrete-time samples are passed through a Parallel to Serial (P/S) device. A cyclicprefix [6] is added in between two consecutive DMT symbols to avoid intersymbol interference(ISI) and to preserve the orthogonality within the signalling interval. The discrete-time samplesare then applied to a Digital to Analog Converter (DAC) and sent over the copper cable (see Sec-tion 3.3). At the receiver the Analog to Digital Converter (ADC) samples the signal. Before thecyclic prefix is removed from the stream of data, it is used to synchronize the DMT symbolclock at the receiver with the transmitter [22]. Then a2M real FFT is performed and an equaliza-tion unit is used to compensate for the channel distortion. The equalization is performed in thefrequency domain by multiplying the complex values with the inverse of the estimated fre-quency response of the channel, which corresponds to Zero Forcing Equalization [15]. A Trellisdecoder performs a trellis search using the Viterbi algorithm [11], and converts the M decodedsignal points into bits. In the deinterleaver the bits are rearranged, and the redundant bits, addedin the RS encoder, are used in the RS decoder to detect and correct bit errors.

3 Techniques

This section discusses the different techniques used in the coded MUSIC system. First, an upperbound on the error free bit rate is given. Next, the DMT channel model is presented, and a for-mula for calculating the bitloading factors is described. Some characteristics of the physicalchannel is presented. This is followed by an introduction to Reed-Solomon coding and TrellisCoded Modulation.

3.1 Channel Capacity

Shannon’s noisy channel coding theorem [16] states that the highest error free bit rateR a dis-crete memoryless channel can reach is bounded by the channel capacityC. Gaussian noise is theworst kind of additive noise for a discrete memoryless channel. The channel capacity on thebandlimited Gaussian channel is given by Shannon-Hartleys formula [16]. In the DMT channelmodel the different subchannels are considered independent of each other. This means that theDMT channel can be considered as a set of parallel subchannels. The total capacityCtot for Mparallel bandlimited Gaussian channels is given by

, (1)

whereSNRj denotes Signal-to-Noise Ratio andWj denotes the bandwidth on respective channel.Although the noise is not Gaussian1 in a DMT system, this will be used as a point of reference inthe simulations in Section 5.

3.2 DMT channel model

A DMT system transmits data in parallel over several narrowband channels. The subchannelscarries different number of bits depending on their Signal-to-Noise Ratios (SNR). A DMT

1. Gaussian noise is the worst kind of additive noise.

Ctot Cj Wj 2 SNRj 1+( )logj 1=

M

∑=j 1=

M

∑=

Page 7: Coding in a Discrete Multitone Modulation System

7 (28)Coding in a Discrete Multitone Modulation System

system transmits data, using a 2-dimensional Quadrature Amplitude Modulation (QAM) oneach subchannel. The class of 2-dimensional QAM constellations (the MUSIC system usesQAM with between 4 and 4096 points) will henceforth be denoted QAM. If the channel spec-trum is divided into M subchannels, then the total number of bits transmitted per one DMT sym-bol, bDMT, can be expressed as

. (2)

Each of thebj bits are mapped into a complex DMT sub-symbolXj, wherej indexes thesubchannel. The subchannel transfer functionHj(f) is the channel transfer function valueH(fj) inthe sampled frequencyfj. This implies that the subchannel is memoryless. The Signal-to-NoiseRatio of subchannelj then becomes

, (3)

whereσ2Noise,j is the noise variance andEj the average symbol energy on subchannelj. In a

square 2-dimensional (2D) QAM constellation the average symbol energyEj can be expressedas

, (4)

whereN is the number of signal points andd the minimum Euclidean distance between two sig-nal points.

3.2.1 Bitloading and Energyloading

In a DMT system the subchannels carry different number of bits depending on their respectiveSignal-to-Noise Ratios, this is referred to as bitloading. Several techniques on how to performbitloading in a DMT system has been developed [2],[4],[5]. In [4] a bitloading algorithm is pro-posed that maintains a constant symbol error probability across all subchannels,

, (5)

, (6)

whereSNRj is given by (3),L is the constellation expansion due to coding,γd the coding gain,Ne the number of nearest neighbours, andPe the symbol error probability. The signal energyEj,see equation (3), is scaled so thatbj in equation (5) is adjusted to a bitloading factor supportedby the system. We refer to this technique as energyloading. Multidimensional codes allows frac-tional number of bits per 2D symbol, to be transmitted on each subchannel. For 2D, 4D, and 8Dtrellis codes the granularity is, per 2D symbol, 1 bit, 0.5 bits, and 0.25 bits, respectively.

bDMT bjj 1=

M

∑=

SNRj

Ej H f j( ) 2

σNoise j,2

--------------------------=

EjN 1–

6-------------d

2=

bj 26SNRjγd

4K---------------------- 1+

log 2 L( )log–=

K Q1– Pe

Ne------

2

=

Page 8: Coding in a Discrete Multitone Modulation System

8 (28)Coding in a Discrete Multitone Modulation System

3.3 Physical channel model

The MUSIC system uses twisted pair copper cable as transmission media. The transfer functionof the twisted pair copper cable can be modelled (see Appendix A) as

, (7)

whered is the cable length,RC a cable constant andatt the maximum attenuation. Depending onwhether communication is performed in one or in both directions the noise will be different [8].In an Asymmetrical Digital Subscriber Line (ADSL) system, one way transmission, the mainnoise impairment will be Far-End Crosstalk (FEXT). For duplex communication both FEXTand Near-End Crosstalk (NEXT) are present. Spectral density models for NEXT and FEXT (seeAppendix A) are

, (8)

. (9)

Hereatt is the noise attenuation at frequencyf0 andS(f) the spectral density of the transmittedsignal.

3.4 Reed-Solomon coding

Reed-Solomon (RS) codes [14] are cyclic block codes that perform forward error control byusing redundancy bits. The data is partitioned into symbols ofm bits, and each symbol is proc-essed as one unit both by encoder and decoder. RS codes are described as(n,k) block codeswhere k is the uncoded block length, andn is the coded block length. The extra symbolsare called the parity check symbols. The RS code satisfies: and , wheret isthe number of correctable symbol errors. Under the assumption that errors are independentlydistributed over the block, and that the symbol error probability isP, the symbol error rate afterthe RS code can be estimated by:

. (10)

3.4.1 Interleaving

Most coding schemes are optimized for bit errors that appear randomly. Interleaving is a tech-nique that rearrange the coded data such that the location of errors looks random and is distrib-uted over many code words rather than a few code words. A periodic interleaving of depthmreadsm code words of lengthn each and arrange them in a block withm rows andn columns.then this block is read by column. In the deinterleaver the bits are rearranged back to its originalorder. When an erroneous decision is made in the Trellis decoder it takes some subsymbols toreach the correct trellis path again. This makes interleaving useful in TCM systems where errorbursts occur.

H d f,( ) 10

att10-------

eRCf d–

=

SNEXT f( ) S f( )10

att10------- f

f 0-----

32---

=

SFEXT d f,( ) S f( )10

att 10 d( ) 20 H d f 0 ),( )( )log–log–10

--------------------------------------------------------------------------------------

d H d f ),( ) 2 ff 0-----

2=

n k–( )n 2m 1–≤ n k 2t≥–

POutn 1–i 1–

Pi

1 P–( )n i–

i t 1+=

n

∑=

Page 9: Coding in a Discrete Multitone Modulation System

9 (28)Coding in a Discrete Multitone Modulation System

3.5 Trellis Coded Modulation

For bandlimited channels, like telephone lines, trellis codes are feasible [9]. Trellis codesexpand neither the bandwidth nor the transmitted power, which is an appealing property overmany other codes. The basic idea is to combine coding and modulation. A trellis code consistsof a convolutional code that adds extra bits which increase the bandwidth. To reduce the band-width a denser signal constellation scheme (a higher-order modulation scheme) is used. In thisway the bandwidth is kept constant. The cost of a denser signal constellation is a reduction ofthe minimum squared distance between signal points. To minimize this reduction the signal con-stellation is partitioned into many subconstellations. Within a subconstellation the signal pointsare separated as much as possible. Two alternatives of partitioning the signal constellation areset partitioning [12] and coset partitioning [21].

For an Additive White Gaussian Noise (AWGN) channel an approximate upper bound of thesymbol error for uncoded QAM is given in [15] as

, (11)

, (12)

whereM is number of points in the constellation,E is the average symbol energy, andσ2 is thenoise variance. The corresponding upper bound of the symbol error for a trellis code [9] is

, (13)

wheredfree is the free distance of the code andT(D,I) is the transfer function of the error statediagram. The power ofD is the Hamming weight of the output sequence associated with a path,and the power ofI is the Hamming weight of the input sequence associated with the same path.The free distance of the code can be expressed as

, (14)

whereγd denotes the expansion of the minimum squared distance andL the constellation expan-sion ratio. At high Signal-to-Noise Ratios the gainγd obtained by the trellis code can be sepa-rated into two different factors [10]: the coding gainγc and the shaping gainγs. The coding gainγc depends on the separation of signal points. At a bit error rate (BER) of 10-6 coding gains of upto 7.5 dB can be reached with some coders [17] but these are very complex. To reduce the aver-age signal power, a Gaussian like probability distribution over the signal points is desired. Thepower reduction is called shaping gainγs, and has a maximum gain ofπe/6 (1.53 dB) [18].

3.5.1 Wei’s 4-dimensional 16-state coder

In this section “coding” is considered while “shaping” is left to the next section. Wei’s 4D 16-state coder [1] partitions the signal constellation into eight 4-dimensional (4D) subconstellations(cosets). A 4D constellation consists of two 2D constellations, in the sense that each 4D point

Psymb 4Qdmin

2

4σ2----------

dmin2 6E

M 1–--------------=

Psymb12---Q

d2free

4σ2-----------

e

d2free

4σ2----------

I∂∂

T D I,( )I 1 D, e

1

4σ2----------–

= =

d2free

6Eγd

LM 1–-----------------=

Page 10: Coding in a Discrete Multitone Modulation System

10 (28)Coding in a Discrete Multitone Modulation System

are mapped on a complex pair(Xi,Xj).

Figure 2. Wei’s 4D 16-state encoder.

A 3/4 rate convolutional encoder (see Figure 2) specifies a coset and the uncoded bits aremapped in the constellation mapper to a point in the specified coset. The convolutional code isdescribed by its generator matrix

, (15)

whereD is a delay element. For the Wei coder the derivative of the transfer function for the errorstate diagram used in (13), withI=1 , is given by

. (16)

This partitioning results in a coding gain of 6 dB due to the expansion of with a factor 4.At the same time the constellation is expanded with one bit, which leads to a cost of 1.5-2.0 dB.Roughly the asymptotic gain of this code would be 4.0-4.5 dB not considering the new errorcoefficient. At the receiver a trellis search is performed to find the most likely transmittedsequence (maximum-likelihood decoder). The Viterbi algorithm [11] is used for this. As sug-gested by Wei, we use a simplified (suboptimal) version [1] of the Viterbi algorithm which onlyconsiders the nearest points in each coset as a candidate.

3.5.2 Trellis shaping

To improve Wei’s code further, shaping of the signal constellation is possible. Shaping attemptsto minimize the average energy of the signal points that are transmitted over the channel. Weidescribes a technique called generalized cross constellation [1], [10]. This shaping techniquegives a shaping gain of approximately 0.3 dB. Another shaping technique called trellis shaping[3], offers a gain of approximately 1.1 dB. Trellis shaping uses a convolutional decoder in theTrellis encoder to chose signal points with low energy.

Some bits of the input bit stream forms a syndrome (see Figure 3). Several signal points in theexpanded signal constellation correspond to the same syndrome. To find signal points with thesame syndrome a inverse syndrome former and code words of the convolutional

Select 4D coset

Constellationk-3 uncoded bits

3 bits

(Xi,Xj)

4 bitsGWei

(Select 4D Point)

mapper

GWei

1 D D3

D4

+ + +

1 D3

D4

+ +---------------------------------------- 1 0 0

1 D2

D4

+ +

1 D3

D4

+ +----------------------------- 0 1 0

1 1 1 1

=

I∂∂

T D I,( )I 1=

40D4

2304D5

29184D6…+ +=

d2min

Hshaping1–( )T

Page 11: Coding in a Discrete Multitone Modulation System

11 (28)Coding in a Discrete Multitone Modulation System

code (Gshaping) are used. The convolutional decoder performs a trellis search over the possiblesequences of signal points to pick out a sequence with minimum energy. At the receiver theshaping bits are multiplied with the syndrome former and the syndrome bits aredecoded.

Figure 3. Wei’s 4D 16-state encoder with trellis shaping.

Forney [3] suggests that the dual trellis code to be used for trellis shaping. A dual code is orthog-onal to the original code. By using the dual Wei’s 4D 16-state code the generator matrix is givenby

, (17)

and the syndrome former is given by

. (18)

Finally a left inverse ofHTshaping is given by

. (19)

The shaping gain for trellis shaping using the dual Wei code is 1.1 dB using a infinite decodingdepth in the Viterbi algorithm.

HshapingT

Select 4D coset

(Select 4D Point)

k-6 uncoded bits

3 bits

(Xi,Xj)

4 bitsGWei

3 bits 4 bits Minimize Energy

Constellationmapper

(H-1shaping)

T

Gshaping 1 D3

D4

+ + 1 D D+3

D4

+ +, 1 D2

D4

+ +, 1 D D+2

D4

+ +,=

Hshaping

Hshaping

1 D D+ +3

D4

+ 1 D+3

D4

+ 0 0

1 D+2

D4

+ 0 1 D+3

D4

+ 0

1 D+3

D4

+ 1 D+3

D4

+ 1 D+3

D4

+ 1 D+3

D4

+

=

Hshaping1–( )T

1D D+

3D

4+

1 D+3

D4

+------------------------------ 1 D+

2D

4+

1 D+3

D4

+----------------------------- D

2D

4+

1 D+3

D4

+-----------------------------

11 D D+ +

3D

4+

1 D+3

D4

+---------------------------------------- D

2D

4+

1 D+3

D4

+----------------------------- D D+

2D

4+

1 D+3

D4

+------------------------------

11 D D+ +

3D

4+

1 D+3

D4

+---------------------------------------- 1 D+

2D

4+

1 D+3

D4

+----------------------------- D D+

2D

4+

1 D+3

D4

+------------------------------

=

Page 12: Coding in a Discrete Multitone Modulation System

12 (28)Coding in a Discrete Multitone Modulation System

4 Coding for the MUSIC system

In this section different coding schemes for the MUSIC system are presented. The different cod-ing schemes used are Reed-Solomon coding, Trellis Coded Modulation, and a concatenatedscheme with an outer Reed-Solomon code and an inner trellis code.

4.1 Reed-Solomon

Reed-Solomon coding can easily be implemented in a DMT system, by adding a RS encoderafter the binary source, and a RS decoder at the end of the system. Interleaving is applied toreduce the effect of detection error bursts. To avoid a decreased information rate, the coding gainof the RS code is inserted into the bitloading algorithm (5). This technique has been studied in[5] and will gain 3 dB over uncoded transmission at a bit error rate (BER) of 10-7. The parame-ters (n,k), see Section 3.4, for the RS codes in [5] are (210,194) and (202,194). The symbols areelements of the Galois field of order .

4.2 Trellis Coded Modulation

Adding trellis coding into the DMT system leads to more structual changes than adding a RS-code. Our channel is divided into many subchannels that transmit different number of bits.Coding can be introduced into a DMT system in many ways. One straightforward way is to usea separate trellis coder for each subcarrier. However, this would lead to a complex system withmany parallel encoders and decoders, and to a large decoding delay. The large coding delayarises because each decoder receives only one QAM symbol per received DMT symbol. Thetrellis code suggested for the MUSIC system uses only a single encoder that codes across thesubchannels, an approach also used in [5]. If all subchannels are used, the decoder receives 7682-dimensional QAM symbols for every DMT symbol. In addition, by letting the last few bitsencoded into the DMT symbol be chosen so that the trellis encoder in the transmitter is forced tothe zero state, a symbol-by-symbol decoding is accomplished. Each DMT symbol can then bedecoded independently of other DMT symbols. The chosen trellis code is Wei’s 4D 16-statecode which can be combined with trellis shaping.

4.3 Concatenated coding

Reed-Solomon and trellis coding can be combined in a concatenated coding scheme [19]. In theconcatenated coding scheme, RS is the outer code, and Wei’s 4D 16-state code is the inner code.A concatenated coding scheme of a RS code and Wei’s 4D 16-state code is analysed in [5] andgain 5.2 dB over uncoded transmission at a BER of 10-7. As discussed in Section 4.2 the trelliscode can be improved by using trellis shaping. This will result in a 6.0 dB gain at a BER of 10-7.

5 Simulation

In this section parameters and simplifications of the simulation model are discussed. Simulationresults are also presented. Bit error rates (BER) for three different systems have been simulated.These are the uncoded system, a system with Wei’s 4D 16-state code, and a system with Wei’s4D 16-state code combined with trellis shaping. Reed-Solomon coding has not been simulatedin this work, but it has been simulated for a similar system in [5]. The simulation tool used is adata stream driven simulator named COSSAP version 6.8 developed by Synopsys Inc.

28

Page 13: Coding in a Discrete Multitone Modulation System

13 (28)Coding in a Discrete Multitone Modulation System

5.1 System parameters

The parameters were chosen to agree with the MUSIC system [6], with some modifications. Thesystem is simulated only with FEXT disturbance, an ADSL environment. In the simulations thefollowing parameters where used.

• FFT size: 2048 (2M)

• Number of used subchannels: 768 (1023 available)

• Length of cyclic prefix: 128 sub-symbols

• Integer bit assignments varying from 2-12 bits per 2D subchannel

• Target bit error rate BER = 10-7

• FEXT attenuation: -50.7 dB atf0 = 5 MHz

• Channel attenuation: -27.5 dB atf0 = 10 MHz

• Equalizer: Zero Forcing

• Sampling frequencyfs = 26.6 MHz (not used in simulation)

The channel parameters are derived from measurements performed on a 500 meter long coppercable with 10 twisted pairs, depicted in Figure 4, for more details see Appendix A.

Figure 4. Cable characteristics and model used in simulation.

The dotted lines in Figure 4 shows the model functions used in simulations. The FEXT constantis chosen to match 9 worst case disturbers from the channel measurements, see Appendix A.The bitloading factors are calculated using equation (5).

5.2 Simplifications

The simplifications in the simulation model are

• perfect synchronization between transmitter and receiver.

• high computational resolution (no clipping).

• FEXT modelled as coloured Gaussian noise, no thermal noise or impulse noise.

• independent errors (no bursts).

• perfect knowledge of channel transfer function in the equalizer.

To compensate for non modelled losses a system margin is often added in the bitloading algo-rithm. Experience from other systems [13] suggest a 6 dB system margin.

0 1 2 3 4 5 6 7 8 9−80

−70

−60

−50

−40

−30

−20

−10

0

Frequency in MHz

Atten

uatio

n in d

B

Page 14: Coding in a Discrete Multitone Modulation System

14 (28)Coding in a Discrete Multitone Modulation System

5.3 Results

The results of the bit error rate (BER) simulations are shown in Figure 5. Parameters describedin Section 5.1 are used with zero system margin.

Figure 5. BER for simulated MUSIC system

Since the Signal-to-Noise Ratio is different on the respective subchannels, an average Signal-to-Noise Ratio of the overall system is computed, using a geometrical mean of the Signal-to-NoiseRatios on the subchannels. In Figure 5 the three different systems all have the same informationrate. The continuous lines are the theoretically predicted performances. We have assumed thatone symbol error leads to only a single bit error. This is motivated for high SNR as the trelliscode is chosen so that minimum distance error events give an error in only a single bit. At a BERof 10-7 the system employing Wei’s code gains approximately 4 dB SNR over the uncoded sys-tem, while the system with both Wei’s code and trellis shaping has a gain of 5.1 dB.

Wei

Uncoded

Wei+TS

20 25 30 3510

−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Average SNR

BE

R

Page 15: Coding in a Discrete Multitone Modulation System

15 (28)Coding in a Discrete Multitone Modulation System

Figure 6. Bitloading factors

Compared to Figure 5, Figure 6 shows another way of expressing the coding gain, which is tolook at it as an increased information bit rate. In Figure 6 the bitloading factors can be seen forthe different subchannels. The curves show the number of information bits that are transmittedon each subchannel. The area beneath the curves corresponds to the number of information bitsthat are transmitted in each DMT symbol. The coded schemes transmit extra bits due to coding.For Wei’s 4D code 0.5 extra bits are needed for each subchannel. For the combination with trel-lis shaping an additional 0.5 bits are needed for each subchannel. The MUSIC system has amaximum bitloading factor of 12. A consequence of this can be seen on the lower subchannelsin Figure 6, where the uncoded system has the highest information bit rate. This is because thecoded systems are only allowed to transmit 12 (coded) bits on any particular subchannel, andthus, are limited to 11.5 and 11 information bits, respectively.

5.3.1 Available Bitrate

Based on the results presented in [5] and the simulations made in Section 5.3, theoretical bitratescan be calculated. In Figure 7 an estimate of the bit rates for the different techniques discussedin Section 4 are presented. To compensate for losses due to noise and synchronizationproblems a system margin of 6 dB is added to the system.

Uncoded

Wei‘s 4D coder

Wei‘s 4D + Trellis shaping

lg(SNR+1)

100 200 300 400 500 600 7000

2

4

6

8

10

12

14

16

18

20

Subchannels

Bitlo

ad

ing

fa

cto

rs

Page 16: Coding in a Discrete Multitone Modulation System

16 (28)Coding in a Discrete Multitone Modulation System

Figure 7. Available bitrates using a 6 dB system margin

As seen in Figure 7, coding the MUSIC system will give 10-20 Mbit gain over uncoded trans-mission. 10 Mbit gain corresponds to RS coding, and 20 Mbit to the concatenated codingscheme.

6 Hardware Complexity

In this section the hardware complexity for the coding in the MUSIC [6] system is discussed (adeeper analyse can be found in Appendix B). A complete implementation will not be derived,instead the hardware complexity is estimated. We have chosen to look at an implementation thathave parallelism in focus. A parallel solution requires more hardware but is faster than a moreserial implementation. The implemented coder, Wei’s 4D 16-state coder with trellis shaping, hasa Viterbi algorithm in both transmitter and receiver. The Viterbi algorithm dominates the hard-ware complexity. The parts that contributes the most are calculations of metrics, and memory.Additionally there are some block, for example binary matrix multiplications, counters, and par-allel to serial converters, but their hardware complexity is negligible compared to the Viterbidecoder. For the MUSIC system the number of operations needed to calculate the metric is:

Table 1: Number of operations for metric calculation

Operation Encoder Decoder

Addition 48 80

Subtraction 8 8

Compare 32 56

Multiplex 41 25

Uncoded

Wei

Wei+TS

Channel Capacity

RS

RS+Wei

RS+Wei+TS

24 25 26 27 28 29 30 31 320

10

20

30

40

50

60

70

80

90

100

Average SNR in dB

Ra

te in

MB

it

Page 17: Coding in a Discrete Multitone Modulation System

17 (28)Coding in a Discrete Multitone Modulation System

The amount of hardware needed is not small, but still realistic for a fully parallel solution. Thewordlength used in the system will effect the amount of hardware. The question of wordlengthis left unanswered in this thesis. To reduce the amount of memory needed in the Viterbi algo-rithm two techniques can be used. One is to save the chosen path instead of the previous state.For this additional hardware to calculate the previous state from the current state and the chosenpath has to be added. The amount of memory can be further reduced by storing the receivedpoint and then, for each state, only store the subgroup that survives. The drawback is that thecalculations to find the closest point will have to be performed one more time after the Viterbidecoder for each received 2D point. The amount of memory needed after these reductions wouldbe

(20)

wheredepthis the decision depth,states denotes the number of states,SG is the number of sub-groups,path is the number of paths entering a state, dim is the dimension of the coder, andfinally, wlr is the word length describing a received 2D point. In the MUSIC system the amountof memory for the receiver would be 10.24 kbyte, and 896 byte for the transmitter. Both figuresare reasonable for an implementation. Details for a faster, more straight forward solution thatdoes not use these memory saving techniques can be found in Appendix B. The implementationof a Reed-Solomon code is not described here since it is well documented [14], and can bebought as a chip at a reasonable price.

7 Open questions

Some questions are left to investigate, for instance:

• What criteria should be used when evaluating Trellis Coded Modulation in thefrequency domain? In the time domain, peek to average power ratio [1],[10] is afactor that should be kept low. How is efficient coding performed in the frequencydomain to keep the peek to average power ratio low in time domain?

• How is energy loading done when other identical systems are interfering? Whatalgorithm should be used for energy loading in a duplex system? Is the waterfill-ing principle useful for energy loading?

• What parameters should be used for the Reed-Solomon coder and interleaving,when applied in a telephone network environment?

• What other noise sources can be experienced in the telephone network? Amateurradio for instance?

Multiplication 8

Table lookup 8

Table 1: Number of operations for metric calculation

Operation Encoder Decoder

memory depth states 2 SG( ) 2 paths( )log+log( ) dimwlr2

--------⋅+⋅ =

Page 18: Coding in a Discrete Multitone Modulation System

18 (28)Coding in a Discrete Multitone Modulation System

8 Conclusion

In this thesis we have analysed the performance of coding in a broadband communication sys-tem. The simulation model is based on a multicarrier modulation technique named DiscreteMultitone (DMT) modulation. Different coding schemes combining trellis coding with trellisshaping and Reed-Solomon coding have been investigated. The different coding schemes areevaluated at a bit error rate (BER) of 10-7. Theoretical bitrates of 30-70 Mbit are reached in thesimulated experimental system, using 500 meters of copper cable, with a system margin of 6 dB.Evaluation of the different coding schemes lead to the following conclusions. A coding gain of 3dB in SNR, could be reached with the Reed-Solomon coder [5]. The complexity of such animplementation is quite modest. To improve a DMT system, with low hardware complexity, theRS code is the best alternative. Implementing a trellis coder is more complex. A Viterbi algo-rithm is needed to perform the trellis search in the receiver. The coding gain achieved is higherthan with the RS, about 4 dB, but the difference is to small to motivate the increase in hardware.Wei’s 4D 16-state coder with trellis shaping have a coding gain of 5.1 dB. Implementing thiscoder requires even more hardware, but still a realistic amount. The amount of extra hardwareneeded to combine it with a Reed-Solomon coder is negligible. This concatenated codingscheme gain 6 dB.

Page 19: Coding in a Discrete Multitone Modulation System

19 (28)Coding in a Discrete Multitone Modulation System

References

[1] L. F. Wei, “Trellis-Coded Modulation with Multidimensional Constellations,” IEEE Trans.Inform. Theory, vol. IT-33, pp. 483-501, July 1987.

[2] J. A. C. Bingham,“Multicarrier modulation for data transmission: an idea of whose time hascome,” IEEE Communications Magazine, vol. 28, no. 5, pp. 5-14, 1990.

[3] G. D. Forney Jr., “Trellis Shaping,” IEEE Trans. Inform. Theory, vol. 38, no. 2, pp. 281-300,March 1992.

[4] J. C. Tu and J. M. Cioffi, “A Loading Algorithm for the Concatenation of Coset Codes withMultichannel Modulation Methods,” Global Telecommunications Conference, San Diego, CA,pp. 1183-1187, December 1990.

[5] T. N. Zogakis, J. T. Aslanis Jr., and J. M. Cioffi, “Analysis of a concatenated coding scheme fora discrete multitone modulation system,” IEEE MILCOM Conference Record, vol. 2, pp. 433-437, 1994.

[6] M. Isaksson, T. Nordström, L. Olsson, and P. Ödling,“A DMT Transmission System for High-Speed Communication on Copper Wire Pairs,” Proceedings of the 6th International Conferenceon Signal Processing Applications & Technology, Boston, vol. 1, pp. 504-508, October 1995.

[7] Working Draft ADSL Standard T1E1.4/94-007R6.

[8] J. J. Werner, “The HDSL Environment,” IEEE Journal on Selected Areas in Communications,vol. 9, no. 6, pp. 785-800, August 1991.

[9] E. Biglieri, D. Divsalar, P. J. McLane, and M. K. Simon,“Introduction to Trellis-CodedModulation with Applications,”Macmillan Publishing Company, New York, 1991, ISBN 0-02-309965-8.

[10] G. D. Forney Jr. and L. F. Wei, “Multidimensional Constellations -Part I: Introduction, Figureof Merit, and Generalized Cross Constellations,” IEEE Journal on Selected Areas inCommunications, vol. 7, no. 6, pp. 877-891, August 1989.

[11] H. L. Lou, “Implementing the Viterbi Algorithm,” IEEE signal processing magazine, pp. 42-52,September 1995.

[12] G. Ungerboeck,“Trellis-Coded Modulation with Redundant Signal Sets,” IEEECommunication Magazine, vol. 25, pp. 5-21, February 1987.

[13] J. S. Chow, J. C. Tu, and J. M. Cioffi, “A discrete multitone transceiver system for HDSLapplications,” IEEE Journal on Selected Areas in Communications, vol. 9, no. 6, pp. 257-266,1993.

[14] E. J. Weldon Jr. and G. Ungerboeck,“Error Correcting Codes and Reed-Solomon ECC,”Annual International Courses on Data Communication - Coding and Modulation, 1990.

[15] R. E. Blahut, “Digital Transmission of Information,” Addison-Wesley Publishing Company,1990, ISBN 0-201-06880-X.

[16] R. G. Gallager,“Information Theory and Reliable Communication,” John Wiley & Sons, NewYork, 1968.

[17] R. deBuda, “Some optimal codes have structure,” IEEE Journal Selected AreasCommunication, vol. SAC-7, pp. 893-899, 1989.

[18] G. D. Forney Jr., R. G. Gallager, G. R. Lang, F. M. Longstaff, and S. U. Qureshi,“Efficientmodulation for band-limited channel,” IEEE Journal Selected Areas Communication, vol.SAC-2, pp. 632-647, 1984.

[19] G. D. Forney Jr.,”Concatenated Codes,” MIT Press, Cambridge, Mass. 1966.

[20] D. Lewin and D. Protheroe,“Design of Logic Systems,” Chapman & Hall, London, ISBN 0-412-42890-3.

[21] A. R. Calderbank and N. J. A. Sloane,“New Trellis Codes Based on Lattices and Cosets,” IEEETransactions on information theory, vol. IT-33, no. 2, pp. 177-195, March 1987.

[22] J.-J. van de Beek, M. Sandell, M. Isaksson, and P. O. Börjesson,“Low-complexity framesynchronization in OFDM system,” in International Conference on Universal PersonalCommunication (ICUPC’95),Tokyo, Japan, 1995.

Page 20: Coding in a Discrete Multitone Modulation System

20 (28)Coding in a Discrete Multitone Modulation System

Appendix A

Copper cable measurements

A realistic channel model is derived from measurements performed on a copper cable. The cop-per cable is 500 meter long with 10 twisted pairs. Models for Near-End Crosstalk (NEXT), Far-End Crosstalk (FEXT), and the cable transfer function are suggested, based on the measure-ments. The characteristics for the measured copper cable are, shown in Figure 8-10, and summa-rised in three model functions and a table for attenuation characteristics.

Model functions:

Cable transfer function (see Figure 8)

,

whered is cable length,att is the maximum attenuation, andRC is a cable constant.

The corresponding impulse response is given by

NEXT spectral density (see Figure 10)

,

whereS(f) is white noise, andatt is attenuation at frequencyf0.

FEXT spectral density (see Figure 9)

,

whereS(f) is white noise, andatt is attenuation at frequencyf0.

H d f,( ) 10

att10-------

eRCf d–

=

h d t,( ) 10

att10------- RC

4πt3

-----------e

RCd2–4t

-----------------

t 0>

0 t 0<

=

SNEXT f( ) S f( )10

att10------- f

f 0-----

32---

=

SFEXT d f,( ) S f( )10

att 10 d( ) 20 H d f 0,( )log–log–10

------------------------------------------------------------------------------

d H d f,( ) 2 ff 0-----

2=

Page 21: Coding in a Discrete Multitone Modulation System

21 (28)Coding in a Discrete Multitone Modulation System

Figure 8. Cable measurement

In Figure 8 the impulse response from a measured pair and the model impulse response is seen.The model function is valid for frequencies larger than 80 kHz this can be seen in the rightmostplot in Figure 8.

Figure 9. FEXT measurements

Measurements with 1 and 9 FEXT interferer are depicted in Figure 9. As in the cable transferfunction model, the FEXT spectral density model is valid for frequencies larger than 80 kHz.

Figure 10.NEXT measurements

In Figure 10 the spectral density of 1 and 9 NEXT interferer are shown. As seen in the rightmostplot the NEXT spectral density model is valid for frequencies larger than 100 kHz.

0 5 10 150

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

time in micro seconds

amplitud

e in V

Implus respons

0 10 20−45

−40

−35

−30

−25

−20

−15

−10

−5

0

frequency in MHz

att. dB

Transfer function att=−36.8

106

108

−45

−40

−35

−30

−25

−20

−15

−10

−5

0

frequency in Hz

att. dB

Transfer function att=−36.8

0 5 10 15 20−100

−95

−90

−85

−80

−75

−70

−65

−60

−55

−50

frequency in MHz

att. d

B

1,9 FEXT interferer on pair 6

106

108

−100

−90

−80

−70

−60

−50

frequency in Hz

att. d

B

1,9 FEXT interferer att=−56.9 −50.7

0 5 10 15 20−100

−90

−80

−70

−60

−50

−40

−30

−20

frequency in MHz

att. d

B

1,9 NEXT interferer on pair 9

106

108

−100

−90

−80

−70

−60

−50

−40

−30

−20

frequency in Hz

att. d

B

1,9 NEXT interferer att=−32.4 −25.8

Page 22: Coding in a Discrete Multitone Modulation System

22 (28)Coding in a Discrete Multitone Modulation System

The reference frequencyf0 was chosen to give the spectral density its maximum attenuation,FEXT has maximumatt at 5 MHz and NEXT has maximumatt at 25 MHz. As seen in Table 2the difference between 9 and 1 interferer is approximately 3 dB for NEXT and FEXT. Duringthe measurements it was found that 4 interferer gives almost the same degrade in performance as9 interferer.

Table 2: Attenuation characteristics

Measured att. in dB at f0 f0 in MHz Interferers

CABLE:

worst case pair -36.9 20 -

average worst case -35.5 20 -

NEXT:

worst case pair -27.8 25 1

average worst case -30.4 25 1

worst case pair -25.8 25 9

average worst case -27.5 25 9

FEXT:

worst case pair -54.0 5 1

average worst case -56.4 5 1

worst case pair -50.7 5 9

average worst case -52.4 5 9

Page 23: Coding in a Discrete Multitone Modulation System

23 (28)Coding in a Discrete Multitone Modulation System

Appendix B

Implementation

Appendix B discusses some aspects of implementing Wei’s 4-dimensional 16-state coder withtrellis shaping in the MUSIC [6] system. A complete implementation will not be derived,instead an estimate of the hardware complexity is given. Techniques on how to reduce hardwarecomplexity are suggested, and the focus have been on high parallelism. Since the suggestedimplementation is intended for the MUSIC system, when advantages can be derived fromincluding operations into the present implementation, these are used and discussed. A systemwithout trellis shaping can be derived from this system by simply exclude some blocks.

Reed-Solomon coder and Interleaving

Implementation of a Reed-Solomon (RS) code will not be discussed, as it is well documented[14]. Periodic interleaving is performed with two memory banks. One memory bank is used towrite in and one to read from. The memory banks are switched when the write memory is fulland all stored bits in the other memory are read.

Trellis encoder

The Trellis encoder for Wei’s 4D 16-state code with trellis shaping is depicted in Figure 11. Aencoder without trellis shaping can be accomplished by excluding the shaded blocks.

Figure 11.Trellis encoder

Vite

rbi a

lgor

ithm

Ser

ial /

Par

alle

l

M a

p p

e r

E n

e r

g y

Carrier

Scale

1.

2.

3. 4. 5. 6. 8.

7.

Mem

ory

Mem

ory

Conj

9.H-T Codew.

Count

CE

Bitc

onv.

Page 24: Coding in a Discrete Multitone Modulation System

24 (28)Coding in a Discrete Multitone Modulation System

Block description of the Trellis encoder in Figure 11.

1) Input data are read into a serial to parallel (S/P) converter. The number ofinput bits are equal toblfi+blf j-2, whereblfi is the bitloading factor ofsubchanneli. The number of read bits corresponds to a 4D symbol, repre-sented by two 2D symbols, sent on two different subchannels.

2) The 3/4 rate convolutional encoder, see equation (15), can be implementedwith a 2/3 rates convolutional encoder (CE) and a bitconverter. The bitcon-verter takes three bits from CE plus one extra bit from the S/P and createsthe two least significant bits of two 2D symbols. To be able to force theWei code to the zero state at the end of each transmitted DMT symbol, theinput to CE needs to be controlled. This is done with the count flag. A moredetailed description of the CE and the bitconverter can be found in [7].

3) Three bits from the input data stream forms a syndrome. These bits aremultiplied with the left inverse syndrome former, see equation (19).

4) Each of the eight different code words of the dual Wei code [3] is added tothe four bits from the left inverse syndrome former (block 3). Resulting ineight four-bit patterns. The first two bits of each pattern is the most signif-icant bits of the first 2D symbol, and the other two are the most significantin the second 2D symbol.

5) The mapper block maps bits onto a signal point using two’s-complementbinary representation [7]. Eight mapper blocks are used in parallel to createthe eight possible 4D symbols used in trellis shaping. The mapper block isa part of both the uncoded and the coded system, and therefore its imple-mentation has not been studied in this thesis. Since the operation is per-formed four times for each subchannel (2D point) an efficient implemen-tation is important.

6) The energy of a 2D signal point is calculated by using the squared Eucli-dean distance to origo. Eight energy blocks are used in parallel to createthe eight possible 2D metrics used in trellis shaping. To compensate fordifferent constellation sizes the energy metrics are scaled to achieve thesame average energy. To reduce computational complexity the scale factorcan be approximated with the closest power of two, and the “genmag algo-rithm” [20] may be feasible to approximate the squared Euclidean dis-tance.

7) Eight 2D signal points are combined in pairs, according to the dual Weicode [3], into eight 4D signal points.

8) To minimize the energy of the transmitted signal points the Viterbi algo-rithm is used. The implementation of the Viterbi algorithm is described onpage 27.

9) The signal points are multiplied with a scale factor, to achieve the same av-erage energy, and sent to the FFT. This multiplication can be included asa preoperation in the FFT.

Note! If the bitloading factorblfi is less than four, trellis shaping can not be performed on thatparticular subchannel, and if it is smaller than two, then the subchannel will not be used.

Page 25: Coding in a Discrete Multitone Modulation System

25 (28)Coding in a Discrete Multitone Modulation System

Table 3 gives an estimate of the hardware complexity for the Trellis encoder.

Trellis decoder

The Trellis decoder for Wei’s 4D 16-state code with trellis shaping is depicted in Figure 12. Asystem without trellis shaping is accomplished by excluding the shaded block.

Figure 12.Trellis decoder

Table 3: Complexity for the Trellis encoder

Block Implementation

CE 4 states (1 bit memory), 4 XOR,1 multiplexer, 1 bit counter.

Bitconverter 4 XOR

H-T 36 states (1 bit memory), 3XOR, 4 10-input paritycounters.

Codeword 4 NOT

Energy Eight subblock each containing:

4 shiftregister, 2 compare, 1addition,1 subtraction, 3 multi-plexers.

Block 7 8 additions

Viterbi 32 additions, 16 compare, 17multiplexers, 896 byte memory.

Block 9 2 multiplications (can bereduced).

G-1

HT

Clo

sest

Clo

sest

2DM

etric

2DM

etric 4D

M e

t r

i c

D e

m a

p p

e r

Par

alle

l / S

eria

l

Vite

rbi a

lgor

ithm

Scale

2. 3. 4. 5. 6. 7.

8.

9.1.

Page 26: Coding in a Discrete Multitone Modulation System

26 (28)Coding in a Discrete Multitone Modulation System

Block description of the Trellis decoder in Figure 12.

1) The received point is multiplied with the inverted scale factor from theTrellis encoder in 9) on page 24. This can be included in the equalizer andtherefore it will not increase the hardware complexity.

2) In each of the four subgroups the point that are closest to the received pointare determined.

3) This block calculates the Euclidean distance between the received pointand the closest point in each 2D subgroup. This operation can be reducedto

whereCm is the closest point, andz denotes the received point.

4) Each 4D metric is calculated by combing four 2D metrics in two pair asdescribed in [1], add them together, and then compare the two pairs. Thesmallest value becomes the 4D metric and the coordinates of the corre-sponding point will pass through a multiplexer into the Viterbi decoderblock.

5) This block performs maximum likelihood decoding using the Viterbi algo-rithm. Its implementation is described in Viterbi decoder at page 27.

6) In the demapper the coordinates of the received point are converted (ac-cording to [7]) into bits. The bits are divided into uncoded bits, that are fedinto the P/S converter, and coded bits, that are decoded in G-1(8.), and HT

(7.).

7) A matrix multiplication is performed to gain the information bits from thesyndrome bits.

8) A matrix multiplication is performed to decode the information bits fromthe CE encoded bits.

9) The parallel bit stream is converted to serial.

Table 4: Complexity for Trellis decoder

Block Implementation

2D Metric

Note: Two identical block workin parallel.

Four subblock each containing:

1 table lookup, 1 multiplication,1 subtraction.

4D Metric Eight subblock each containing:

2 additions, 1 compare, 1 multi-plexer.

Viterbi 64 additions, 48 compare, 17multiplexers, 10.24 kbyte mem-ory.

HT 3 shiftregister (4-bit), 17 XOR,8 NAND.

G-1 2 XOR

M2 Cm( )Cm

2

2------- Cmz–=

M4 min M2 Ci( ) M2 Cj( )+ M2 Ck( ) M2 Cl( )+,( )=

Page 27: Coding in a Discrete Multitone Modulation System

27 (28)Coding in a Discrete Multitone Modulation System

Table 4 gives an estimate of the hardware complexity for the Trellis decoder.

Viterbi decoder

In the system two Viterbi decoders are used, one in the receiver, and one in the transmitter. TheViterbi algorithm in the receiver is more complex than the one in the transmitter, and is thereforedescribed in this section.

Figure 13.Viterbi decoder for the receiver.

Block description of the Viterbi decoder in Figure 13.

1) In the first part, the metric for each path entering a state is calculated, andthe path with the smallest metric survives. The metric for a path entering astate is the sum of the metric for the previous state and the metric for thepath between the states.

2) The second part consists of a large memory where the surviving path met-ric, previous state, and the 4D point that corresponds to the surviving pathare stored for all states. The amount of memory can be reduced, by firstreading the data out, and then write the new data into the same position.This can be done with an address counter that count from zero to the deci-sion depth and then down to zero, in a cyclic manner.

3) A multiplexer forwards one of 16 points, and the pervious state from thememory. The previous state is used in the next clock cycle to control theaddress of the multiplexer.

4) In the beginning and in the end of the trellis only some states are possible.To control this a counter is needed.

The amount of memory needed for the Viterbi algorithm can be derived by

Metrics

Coordinates

Mem

ory

>

>>

Metrics

Coordinates

>

>>

16 identical

Counter1.

2.

3.

4

M Sj( ) mini∀

M Si Previous,( ) M P j i,( )( )+( )=

Page 28: Coding in a Discrete Multitone Modulation System

28 (28)Coding in a Discrete Multitone Modulation System

wheredepthis the decision depth,statesdenotes the number of states,path is the number ofpaths entering a state,dim is the dimension of the coder, and, finally,wlc is the word length rep-resenting a 2D point in the signal constellation. To reduce the amount of memory needed in theViterbi algorithm two techniques can be used. One is to save the chosen path instead of the pre-vious state. For this additional hardware to calculate the previous state from the current state andthe chosen path has to be added. The amount of memory can be further reduced by storing thereceived point and then, for each state, only store the subgroup that survives. The drawback isthat the calculations to find the closest point will have to be performed one more time after theViterbi decoder for each received 2D point. The amount of memory needed when using thesetechniques would be

wherewlr is the word length describing a received 2D point, andSG is the number of subgroups.In the MUSIC system, wheredim=4, andstates=16, the amount of memory would be 10.24kbyte for the receiver, sincedepth=512,SG=16, path=4,andwlr=32. In the transmitter theamount of memory will be 896 byte, becausedepth=64,SG=8, path=2,andwlr=24.

memory depth states dimwlc2

--------- 2 states( )log+ ⋅⋅ ⋅=

memory depth states 2 SG( ) 2 paths( )log+log( ) dimwlr2

--------⋅+⋅ =


Recommended