Final Project Report on HDSL2 Modem Modeling and Simulation

Similar documents
ADSL Transmitter Modeling and Simulation. Department of Electrical and Computer Engineering University of Texas at Austin. Kripa Venkatachalam.

Combined EFM PHY using Single Carrier Modulation

COMMITTEE T1 TELECOMMUNICATIONS Working Group T1E1.4 (DSL Access) Baltimore; August 25-26, 1999

Relationship of 1000BASE-T1 to other standards

Viterbi Algorithm for error detection and correction

)454 6 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU

Ethernet - HDSL Gateway

Code Generation for TMS320C6x in Ptolemy

Module 6 STILL IMAGE COMPRESSION STANDARDS

Modeling of an MPEG Audio Layer-3 Encoder in Ptolemy

Video-Aware Wireless Networks (VAWN) Final Meeting January 23, 2014

Telecommunications Engineering Course Descriptions

Design of Viterbi Decoder for Noisy Channel on FPGA Ms. M.B.Mulik, Prof. U.L.Bombale, Prof. P.C.Bhaskar

Delay Constrained ARQ Mechanism for MPEG Media Transport Protocol Based Video Streaming over Internet

Text-Independent Speaker Identification

MOVING BEYOND THE STANDARD: CREATING ADDITIONAL BANDWIDTH THROUGH EXTENDING DOCSIS 2.0. Jack Moran, Distinguished Member of the Technical Staff

Fast Decision of Block size, Prediction Mode and Intra Block for H.264 Intra Prediction EE Gaurav Hansda

Scalable Coding of Image Collections with Embedded Descriptors

DATA COMMUNICATIONS AND COMPUTER NETWORKS

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

Modeling and Simulation of H.26L Encoder. Literature Survey. For. EE382C Embedded Software Systems. Prof. B.L. Evans

100BASE-Cu Dual Mode Proposal

Fixed Point LMS Adaptive Filter with Low Adaptation Delay

5. Delta-Sigma Modulators for ADC

Realization of Adaptive NEXT canceller for ADSL on DSP kit

ELEC 691X/498X Broadcast Signal Transmission Winter 2018

AN ANALOG AND DIGITAL COMMUNICATIONS LABORATORY WITH MATLAB

In the name of Allah. the compassionate, the merciful

10GBase-T T Active / Low-Power Idle Toggling. Gavin Parnaby George Zimmerman

AUDIO COMPRESSION USING WAVELET TRANSFORM

Blind Crosstalk Cancellation for DMT Systems

Chapter 9. High Speed Digital Access

A COMPARISON OF CABAC THROUGHPUT FOR HEVC/H.265 VS. AVC/H.264. Massachusetts Institute of Technology Texas Instruments

Advanced Modulation and Coding Challenges

Re-Synchronization of Permutation Codes with Viterbi-Like Decoding

IP Video Network Gateway Solutions

UNIT-II 1. Discuss the issues in the data link layer. Answer:

Payload Length and Rate Adaptation for Throughput Optimization in Wireless LANs

Energy Efficiency Maximization for Wireless Sensor Networks

What is the fundamental purpose of a communication system? Discuss the communication model s elements.

Real-World Experience with a Mobile Broadband Network

Mixed Raster Content for Compound Image Compression

REAL-TIME DIGITAL SIGNAL PROCESSING

Context-Adaptive Binary Arithmetic Coding with Precise Probability Estimation and Complexity Scalability for High- Efficiency Video Coding*

Multimedia Data Transmission over Mobile Internet using Packet-Loss Punctured (PaLoP) Codes

Digital Speech Coding

Achieving Reliable Digital Data Communication through Mathematical Algebraic Coding Techniques

Synopsis of Basic VoIP Concepts

LabVIEW Based Embedded Design [First Report]

Progress Report No. 15. Shared Segments Protection

Degrees of Freedom in Cached Interference Networks with Limited Backhaul

Implementation of Convolution Encoder and Viterbi Decoder Using Verilog

A Route Selection Scheme for Multi-Route Coding in Multihop Cellular Networks

FORWARD ERROR CORRECTION CODING TECHNIQUES FOR RELIABLE COMMUNICATION SYSTEMS

CSMA based Medium Access Control for Wireless Sensor Network

Multiplexing (Recap)

Diversity Coded 5G Fronthaul Wireless Networks

1.6 Error Control Strategies

Loop Spectrum Compatibility and Management

Data Link Networks. Hardware Building Blocks. Nodes & Links. CS565 Data Link Networks 1

LVDS applications, testing, and performance evaluation expand.

7. Integrated Data Converters

Direct Link Networks. Lecture - Encoding & Framing 1. Areas for Discussion. Problems

A framework for automatic generation of audio processing applications on a dual-core system

On the performance of turbo codes with convolutional interleavers

Technical Report No. 59 September 1999

Forward Error Correction Using Reed-Solomon Codes

Chapter 8 OSI Physical Layer

QUANTIZER DESIGN FOR EXPLOITING COMMON INFORMATION IN LAYERED CODING. Mehdi Salehifar, Tejaswi Nanjundaswamy, and Kenneth Rose

Motion Estimation. Original. enhancement layers. Motion Compensation. Baselayer. Scan-Specific Entropy Coding. Prediction Error.

JPEG Compression Using MATLAB

Design of Convolution Encoder and Reconfigurable Viterbi Decoder

A Image Comparative Study using DCT, Fast Fourier, Wavelet Transforms and Huffman Algorithm

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 4, April 2012)

TeleBench 1.1. software benchmark data book.

A comparison of CABAC throughput for HEVC/H.265 VS. AVC/H.264

Transmission Media :- It can be broadly classified into two types

Header Compression Capacity Calculations for Wireless Networks

CC-SCTP: Chunk Checksum of SCTP for Enhancement of Throughput in Wireless Network Environments

Comparative Study of Partial Closed-loop Versus Open-loop Motion Estimation for Coding of HDTV

A Modified Medium Access Control Algorithm for Systems with Iterative Decoding

Performance of multi-relay cooperative communication using decode and forward protocol

ADAPTIVE JOINT H.263-CHANNEL CODING FOR MEMORYLESS BINARY CHANNELS

HIPERLAN/2 and a: A Comparative Study

Importance Sampling Simulation for Evaluating Lower-Bound Symbol Error Rate of the Bayesian DFE With Multilevel Signaling Schemes

Overview. IUB, SES P. K. Agyapong, Line Qualification 2

Bit Error Recovery in MMR Coded Bitstreams Using Error Detection Points

Coordinated Multi-Point in Mobile Communications

Investigation of Transmit Spectra for Motorola s iden Radio System

A NEW H-ARQ SCHEME USING BCH CODES WITH UNEQUAL DATA AND PARITY FRAMES

Video Compression An Introduction

Ptolemy Seamlessly Supports Heterogeneous Design 5 of 5

Design of Convolutional Codes for varying Constraint Lengths

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Nov 1,

Meta-Data-Enabled Reuse of Dataflow Intellectual Property for FPGAs

IN distributed random multiple access, nodes transmit

Video Streaming Over Multi-hop Wireless Networks

MODIFIED IMDCT-DECODER BASED MP3 MULTICHANNEL AUDIO DECODING SYSTEM Shanmuga Raju.S 1, Karthik.R 2, Sai Pradeep.K.P 3, Varadharajan.

Sample solution to Midterm

TDR/TDT Analysis by Crosstalk in Single and Differential Meander Delay Lines for High Speed PCB Applications

Transcription:

Final Project Report on HDSL2 Modem Modeling and Simulation Patrick Jackson Reza Koohrangpour May 12, 1999 EE 382C: Embedded Software Systems Spring 1999 Abstract HDSL was developed as a low cost alternative to T1. The key value of HDSL is its ease of installation. Like T1, it operates over two twisted pair. The second generation, HDSL2, is currently being developed as a single-pair HDSL solution. This is a technically challenging endeavor, requiring advanced coding and signal processing techniques. The HDSL2 draft standard gives a significant degree of designer flexibility by including programmable components and specifying implementation details only when necessary. We have implemented a highly configurable and extensible HDSL2 simulation in the Ptolemy environment for the purpose of tradeoff analysis and as a reference design. This paper describes the capabilities and limitations of our simulation.

1 Introduction High-bit-rate Digital Subscriber Line (HDSL) was developed in the early 1990s as a low cost alternative to T1. T1 provides a symmetric throughput of 1.544 Mbps over two twisted pairs. Phone companies use T1 in point-to-point links, particularly between central offices, between central offices and cellular base stations, and between end-users. T1 is an old technology that is expensive and difficult to install, requiring repeaters and stringent line qualification. HDSL also operates on two twisted pairs at a T1 payload rate but was designed to make installation much easier. HDSL tolerates most loop impairments and obviates the need for repeaters on standard lines. Another important factor that makes HDSL easier to deploy is its spectral compatibility with pre-existing services. These properties make it possible for T1 services to be provisioned with HDSL on a large percentage of existing twisted pair loops with no line conditioning and without segregating services. Standards groups are currently working on the HDSL2 (HDSL 2 nd generation) specification to provide a single-pair HDSL solution. Evolving HDSL to a single-pair implementation has proven to be very challenging, requiring advanced coding and signal processing techniques [1]. The HDSL2 standard is currently in the draft stage. The draft standard [2] gives a significant degree of designer flexibility by including programmable components and specifying implementation details only when necessary. Because the new standard allows for such flexibility we have implemented a highly configurable and extensible HDSL2 simulation. The primary contribution of the simulation is to enable tradeoff analysis. The most computationally intensive components of HDSL2 are programmable. Our simulation provides a platform to easily vary these component parameters and observe

the resource requirements and performance consequences associated with such changes. A secondary contribution is to supply a reference design of the system. Because the draft standard specifies only details that are crucial to conformance, an example implementation of the key components is useful to developers. The purpose of this paper is to describe our simulation, identifying both its capabilities and limitations. First, we summarize the operation of the HDSL2 modem, emphasizing the configurable components. We then describe our simulation by stating which parts we have implemented and how they can be configured. Finally, we conclude by discussing the limitations of our simulation and enhancements that could be done to the project. 2 Modem Operation 2.1 Startup Mode As the draft standard describes, the modem operates in two modes, startup mode and data mode. While in startup mode, the transmitter sends a predefined sequence of data to allow the adaptive equalizer in the receiver to train on the channel. Fig. 1 is a diagram of the components that comprise a startup mode session [3]. We begin with a description of the transmitter, followed by the receiver. Data In Scrambler Bit-to-Level Mapper Spectral Shaper Echo Canceller Hybrid Data Out Descrambler Level-to-Bit Mapper Decision Feedback Equalizer Linear Equalizer Receiver Front End Fig. 1 Startup Mode of an HDSL2 Modem

The first component to process the training sequence is the scrambler. The scrambler attempts to randomize the data to be sent. The bit-to-level mapper converts the bit sequence to the appropriate output level. During startup mode, a simple two-level pulse amplitude modulation (PAM) scheme is used. The shaper performs the filtering on the symbol sequence needed to produce a continuous-time signal for transmission over the channel [4]. Impedance mismatches between the hybrid and the twisted pair cause a portion of the transmitted signal to be reflected back to the receiver. The echo canceller is an adaptive transversal filter that learns the response of the hybrid and generates a replica of the reflected signal to be subtracted from the received waveform. The receiver front end performs timing recovery and sampling [5]. The linear equalizer and the decision feedback equalizer (DFE) process the incoming signal to reverse the linear amplitude and phase distortion caused by the channel. This distortion, known as inter-symbol interference, causes adjacent symbols to overlap and interfere with one another. The linear equalizer is a feedforward filter and the DFE is a feedback filter. The filters are jointly adapted during startup mode while the training sequence is being processed [6][7]. The equalized pulse samples are fed to the level-to-bit mapper. This component reconstructs the bit stream by quantizing the samples from the PAM levels received. Finally, the desrambler simply returns the bit stream to its prescrambled form, producing the output. After training, the receiver sends configuration data back to the transmitter. This configuration data consists of precoder coefficients found by the decision feedback

equalizer and the convolutional encoder parameters that the receiver expects the transmitter to use. We give a description of these components in the following section. The modem then switches to data mode. 2.2 Data Mode Fig. 2 shows the components that make up the data mode session. Data In Transmit Framer Scrambler Trellis Encoder Bit-to-Level Mapper Tomlinson Precoder Spectral Shaper Echo Canceller Hybrid Data Out Receive Framer Descrambler Level-to-Bit Mapper Tomlinson Modulo Trellis Decoder Linear Equalizer Receiver Front End Fig. 2 Data Mode of an HDSL2 Modem The transmit framer encapsulates the input data to send as HDSL2 frames [2]. The scrambler makes the data look more random, as in startup mode. In the trellis encoder, the bit stream is first converted to a sequence of 3-bit parallel words. The least significant bit (earliest in time) of each word is encoded with a programmable convolutional encoder [2], while the remaining two bits are passed through unaltered. The encoder adds redundancy to the data so that errors can be detected and corrected. The convolutional encoder produces two bits for every one it is given, resulting in a 4-bit word. The 4-bit encoded symbols are sent to the mapper to be converted to one of 16 PAM levels. The Tomlinson precoder performs the feedback equalization done by the DFE in the startup mode receiver. Performing this function in the transmitter prohibits decision errors caused by the channel from being propagated through the feedback filter. Another reason this needs to be done in the transmitter is because the feedback loop requires a

zero-delay decision. The Viterbi decoding algorithm, discussed later, introduces decision delay and so can not be implemented within the DFE. Placing this decision after equalization allows us to use both encoding and feedback equalization and realize the combined gains they provide. A modulo operation is performed in the precoder feedback loop to ensure that the transmitted signal stays within an acceptable range. This will result in an expanded symbol set at the receiver [6][7]. The spectral shaper, receiver front end, echo canceller, and linear equalizer all provide functionality equivalent to startup mode. The equalized symbols are passed to the trellis decoder. The decoder uses the Viterbi algorithm to search for the data sequence generated by the encoder that is closest to the received sequence. There are two methods used to calculate the difference between the received and expected sequence- hard and soft decoding. Briefly, hard decoding first quantizes each received symbol before calculating the difference from the expected symbol, while the soft method excludes the quantization step to improve precision. Another important factor is the length of the sequence used for comparison, the window length. A full discussion of the Viterbi decoding algorithm is given in [8]. The Tomlinson modulo operator recovers the original symbols from the expanded symbol set produced by the precoder [6][7]. The symbols are then converted back to a bit stream by the level-to-bit mapper. The receive framer processes the resultant bit stream, extracting the received data. 3 Modeling and Simulation To limit the scope of our simulation, we included only the portions of the modem that are needed to perform trade-off analysis of the programmable components. The

necessary parts are: scrambler, descramber, mappers, linear equalizer, DFE, Tomlinson precoder, trellis encoder, and trellis decoder. We chose Ptolemy [9] as the platform to develop our simulation. Ptolemy is a flexible and extensible graphical development environment that is freely distributed by the University of California at Berkeley. Ptolemy supports dataflow programming, which is a natural representation for signal processing algorithms. In short, dataflow applications are specified with graphs in which the nodes represent computations and the directed arcs between the nodes carry data. A special case of dataflow supported by Ptolemy called synchronous dataflow (SDF) requires each node to produce and consume a constant amount of data with each execution [11]. This makes a compile time determination of execution order and memory requirements possible. These properties give SDF systems very predictable run-time behavior. We implemented our entire simulation with SDF blocks. However, the parameter exchange during the transition from startup to data mode can not easily be modeled with SDF. As a result, we implemented the modem as two separate parts- a startup mode simulation and a data mode simulation. The startup simulation transmits the training sequence allowing the adaptive equalizer to converge on the channel. On termination, the equalizer coefficients are saved to a file. Fig. 3 shows the startup mode simulation. Fig. 3 Startup Mode Simulation

The data mode simulation uses the equalizer coefficients stored by the startup execution to program the Tomlinson precoder. This simulates the transmission of these parameters before the switch to data mode. Fig. 4 shows the data mode simulation provisioned to count the number of bit errors encountered with a random binary input stream over a channel with linear distortion and additive Guassian white noise. Fig. 4 Data Mode Simulation Fig. 5 shows the data mode configuration window. The window allows the user to set, at run time, all the parameters necessary to perform trade-off analysis of the programmable components. This is a particularly useful feature when developing the Viterbi decoder because we expect it to represent approximately 85-90% of the computational resources of the system. Fig. 5 Data Mode Simulation Configuration Window

4 Limitations and Future Work Several enhancements could be made to the simulation. An obvious improvement is the combine the startup and data mode into a single simulation. Ptolemy supports the mixing of SDF with a finite state machine (FSM) model of computation. With this combination the startup to data mode transition logic could be added on top of the current SDF blocks as an FSM process. Another consideration is the channel model. The model used is a very simplified, stationary system. A time-varying model that simulates crosstalk interference from other services as described in [2] would be more realistic. Our simulation also assumes a synchronized transmitter and receiver so that both the spectral shaper and the receiver front end can be left out. These would be useful additions. Finally, the Tomlinson modulo operation is done before the trellis decoder in our receiver simulation. For optimal performance, the modulo needs to be done in the decoder. 5 References [1] J.W. Lechleider, High Bit Rate Digital Subscriber Lines: A Review of HDSL Progress, IEEE Journal on Selected Areas in Communications, vol. 9, no. 6, pp. 769-784, Aug. 1991. [2] M. Rude, "Draft for HDSL2 Standard," ADC Telecommunications contribution, T1E1.4/99-006, Jan. 1999. [3] R. Goodson, K. Schneider, and J. Moore, Proposal for Single-Loop HDSL Using Simple Coded PAM, ADTRAN contribution, T1E1.4/96-037, Apr. 1996. [4] R. Gaikwad and R. Baraniuk, Optimal Transmit Spectra for HDSL2, Rice University contribution, T1E1.4/98-162R1, Jun. 1998. [5] E.A. Lee and D.G. Messerschimitt, Digital Communication, 2 nd Edition, Kluwer Academic Publishers, ISBN 0-7923-9391-0, 1994. [6] G.J. Pottie and M.V. Eyuboglu, Combined Coding and Precoding for PAM and QAM HDSL Systems, IEEE Journal on Selected Areas in Communications, vol. 9, no. 6, pp. 861-870, Aug. 1991. [7] A.K. Aman, R.L. Cupo, and N.A. Zervos, Combined Trellis Coding and DFE through Tomlinson Precoding, IEEE Journal on Selected Areas in Communications, vol. 9, no. 6, pp. 876-883, Aug. 1991. [8] A.J. Viterbi, "Convolutional Codes and Their Performance in Communications Systems," IEEE Transactions on Communications, COM-19, pp. 750-772, Oct. 1971. [9] J. Buck, S. Ha, E.A. Lee, and D.G. Messerschimitt, Ptolemy: A Framework for Simulating and Prototyping Heterogeneous Systems, International Journal of Computer Simulation, special issue on Simulation Software Development, vol. 4, 1994. [10] E.A. Lee and D.G. Messerschmitt, Synchronous Dataflow, Proceedings of the IEEE, vol. 75, no. 9, 1987.