Implementing an In-Service, Non- Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31



Similar documents
SN54165, SN54LS165A, SN74165, SN74LS165A PARALLEL-LOAD 8-BIT SHIFT REGISTERS

Analysis of Filter Coefficient Precision on LMS Algorithm Performance for G.165/G.168 Echo Cancellation

Floating Point C Compiler: Tips and Tricks Part I

Binary Search Algorithm on the TMS320C5x

Monitoring TMS320C240 Peripheral Registers in the Debugger Software

TSL INTEGRATED OPTO SENSOR

EDI s x32 MCM-L SRAM Family: Integrated Memory Solution for TMS320C4x DSPs

Teaching DSP through the Practical Case Study of an FSK Modem

EDI s x32 MCM-L SRAM Family: Integrated Memory Solution for TMS320C3x DSPs

TCOM 370 NOTES 99-6 VOICE DIGITIZATION AND VOICE/DATA INTEGRATION

Application Notes. Contents. Overview. Introduction. Echo in Voice over IP Systems VoIP Performance Management

Adjusting Voice Quality

Power network telecommunication

Fast Logarithms on a Floating-Point Device

Signal Conditioning Wheatstone Resistive Bridge Sensors

Next-Generation BTL/Futurebus Transceivers Allow Single-Sided SMT Manufacturing

A Low-Cost, Single Coupling Capacitor Configuration for Stereo Headphone Amplifiers

Multichannel Voice over Internet Protocol Applications on the CARMEL DSP

Comparison of TI Voice-Band CODECs for Telephony Applications

Guidelines for Software Development Efficiency on the TMS320C6000 VelociTI Architecture

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Audio Tone Control Using The TLC074 Operational Amplifier

AN3998 Application note

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

TSL250, TSL251, TLS252 LIGHT-TO-VOLTAGE OPTICAL SENSORS

MultiDSLA. Measuring Network Performance. Malden Electronics Ltd

Simplifying System Design Using the CS4350 PLL DAC

BROADBAND AND HIGH SPEED NETWORKS

ZLAN-56 Voice Echo Canceller Frequently Asked Questions

Analog-to-Digital Voice Encoding

Designing Gain and Offset in Thirty Seconds

Current-Transformer Phase-Shift Compensation and Calibration

)454 6 ")43 0%2 3%#/.$ $50,%8 -/$%- 34!.$!2$):%$ &/2 53% ). 4(% '%.%2!, 37)4#(%$ 4%,%0(/.%.%47/2+ $!4! #/--5.)#!4)/. /6%2 4(% 4%,%0(/.%.

Achieving PSTN Voice Quality in VoIP

Manchester Encoder-Decoder for Xilinx CPLDs

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

How To Make A Two Series Cell Battery Pack Supervisor Module

INTERNATIONAL TELECOMMUNICATION UNION

SN28838 PAL-COLOR SUBCARRIER GENERATOR

SDLS068A DECEMBER 1972 REVISED OCTOBER Copyright 2001, Texas Instruments Incorporated

From Concept to Production in Secure Voice Communications

SIP Trunking and Voice over IP

Clearing the Way for VoIP

Introduction to Packet Voice Technologies and VoIP

Controlling TAS5026 Volume After Error Recovery

SN54HC191, SN74HC191 4-BIT SYNCHRONOUS UP/DOWN BINARY COUNTERS

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

Multiplexing. Multiplexing is the set of techniques that allows the simultaneous transmission of multiple signals across a single physical medium.

Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.

Telecommunications Switching Systems (TC-485) PRACTICAL WORKBOOK FOR ACADEMIC SESSION 2011 TELECOMMUNICATIONS SWITCHING SYSTEMS (TC-485) FOR BE (TC)

Analog vs. Digital Transmission

Intel NetStructure Host Media Processing Software Release 1.0 for the Windows * Operating System

Voice Communication Package v7.0 of front-end voice processing software technologies General description and technical specification

Introduction and Comparison of Common Videoconferencing Audio Protocols I. Digital Audio Principles

PCM Encoding and Decoding:

MINIMUM QUALITY INDICATORS FOR ALL TYPES OF LEASED LINES

Objectives. Lecture 4. How do computers communicate? How do computers communicate? Local asynchronous communication. How do computers communicate?

Simple Voice over IP (VoIP) Implementation

Starlink 9003T1 T1/E1 Dig i tal Trans mis sion Sys tem

RETRIEVING DATA FROM THE DDC112

Boost Your Skills with On-Site Courses Tailored to Your Needs

Wireless Subwoofer TI Design Tests

IrDA Transceiver with Encoder/Decoder

Chapter 6 Bandwidth Utilization: Multiplexing and Spreading 6.1

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

Bluetooth Audio Data Transfer between Bluetooth chipset (PMB6752&PMB6625) and TriCore Host TC1920

Voice Dialer Speech Recognition Dialing IC

Secure SCADA Communication Protocol Performance Test Results

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

sndio OpenBSD audio & MIDI framework for music and desktop applications

Evolution from Voiceband to Broadband Internet Access

Echo Troubleshooting Guide How to identify, troubleshoot and remove echoes in installed-room AV systems

Programming Audio Applications in the i.mx21 MC9328MX21

Chapter 3 ATM and Multimedia Traffic

A Comparison of Speech Coding Algorithms ADPCM vs CELP. Shannon Wichman

Video Conferencing Unit. by Murat Tasan

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

INTERNATIONAL TELECOMMUNICATION UNION

Smart Battery Module with LEDs and Pack Supervisor

)454 6 "!5$ -/$%- 34!.$!2$):%$ &/2 53% ). 4(% '%.%2!, 37)4#(%$ 4%,%0(/.%.%47/2+ $!4! #/--5.)#!4)/. /6%2 4(% 4%,%0(/.%.%47/2+ )454 Recommendation 6

Introduction to PCI Express Positioning Information

bq2114 NiCd or NiMH Gas Gauge Module with Charge-Control Output Features General Description Pin Descriptions

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

(Refer Slide Time: 2:10)

VOICE OVER IP AND NETWORK CONVERGENCE

Temperature & Humidity SMS Alert Controller

Flexible Active Shutter Control Interface using the MC1323x

SN54F157A, SN74F157A QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

6 Output With 1 kω in Series Between the Output and Analyzer Output With RC Low-Pass Filter (1 kω and 4.7 nf) in Series Between the Output

High-Speed Gigabit Data Transmission Across Various Cable Media at Various Lengths and Data Rate

Development and optimization of a hybrid passive/active liner for flow duct applications

Designing With the SN54/74LS123. SDLA006A March 1997

Curso de Telefonía IP para el MTC. Sesión 2 Requerimientos principales. Mg. Antonio Ocampo Zúñiga

Measuring Temperature withthermistors a Tutorial David Potter

DigiPoints Volume 1. Student Workbook. Module 4 Bandwidth Management

INTERNATIONAL TELECOMMUNICATION UNION. SERIES V: DATA COMMUNICATION OVER THE TELEPHONE NETWORK Interfaces and voiceband modems

Transcription:

Disclaimer: This document was part of the First European DSP Education and Research Conference. It may have been written by someone whose native language is not English. TI assumes no liability for the quality of writing and/or the accuracy of the information contained herein. Implementing an In-Service, Non- Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31 Authors: M. Bertocco, P. Pagherani, D. Lorenzin ESIEE, Paris September 1996 SPRA316

IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue any semiconductor product or service without notice, and advises its customers to obtain the latest version of relevant information to verify, before placing orders, that the information being relied on is current. TI warrants performance of its semiconductor products and related software to the specifications applicable at the time of sale in accordance with TI s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Certain application using semiconductor products may involve potential risks of death, personal injury, or severe property or environmental damage ( Critical Applications ). TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, INTENDED, AUTHORIZED, OR WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT APPLICATIONS, DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS. Inclusion of TI products in such applications is understood to be fully at the risk of the customer. Use of TI products in such applications requires the written approval of an appropriate TI officer. Questions concerning potential risk applications should be directed to TI through a local SC sales office. In order to minimize risks associated with the customer s applications, adequate design and operating safeguards should be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein. Nor does TI warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. Copyright 1997, Texas Instruments Incorporated

TRADEMARKS TI is a trademark of Texas Instruments Incorporated. Other brands and names are the property of their respective owners.

CONTACT INFORMATION US TMS320 HOTLINE (281) 274-2320 US TMS320 FAX (281) 274-2324 US TMS320 BBS (281) 274-2323 US TMS320 email dsph@ti.com

Contents Abstract...7 Product Support on the World Wide Web...8 Introduction...9 Simplified Model of Telecommunication Channels... 10 The DSP-Based Instrument Hardware Architecture... 11 Measurement Algorithms... 13 Experimental Results... 16 Conclusions... 17 References...18

Figures Figure 1. Simplified Model of a Telecommunication Channel... 10 Figure 2. Block Scheme of the DSP-Based Unit... 11 Tables Table 1. Percentile of Available Memory and Available Time Employed by the Task... 15 Table 2. Mean and Standard Deviation of the Estimation Error for the Parameters of Interest... 16

Implementing an In-Service, Non- Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31 Abstract Telecommunication channels cannot be monitored in an operational mode with traditional instrumentation systems. For example, transmission anomalies are usually not detected, which affects the quality of service to the end user. This application report describes the implementation of the Texas Instruments (TI ) TMS320C31 digital signal processor (DSP) as an in-service, non-intrusive measurement device (INMD). The TMS320C31 can be connected to any easily accessible test point of a telecommunication network. The DSP-base unit provides interface circuits that allow operational mode monitoring in which transmission anomalies can be assessed for quality of service to the end user. This application report includes a simplified telecommunication channel model, a summary of the hardware architecture, the adopted estimation algorithms, a brief description of the operating system kernel, and simulation results showing the DSP-based unit accuracy. This document was an entry in the 1996 DSP Solutions Challenge, an annual contest organized by TI to encourage students from around the world to find innovative ways to use DSPs. For more information on the TI DSP Solutions Challenge, see TI s World Wide Web site at www.ti.com. Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31 7

Product Support on the World Wide Web Our World Wide Web site at www.ti.com contains the most up to date product information, revisions, and additions. Users registering with TI&ME can build custom information pages and receive new product updates automatically via email. 8 Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31

Introduction In the last few years, INMDs have assumed a growing interest because of the ability to monitor telecommunication channels in their operating mode. Thus, the effective degree of quality of the service offered to the end user can be assessed and transmission anomalies, which are usually not detectable with traditional instrumentation, can be observed. 1 The DSP-based unit described in this document is connected to any easily accessible test point of the telecommunication system. The adopted DSP is provided with interface circuits that allow the acquisition of the digital data stream of modern communication networks. Using numerical algorithms, the system simultaneously performs a number of measurements in compliance with international recommendations, including noise and signal level estimation, echo parameter extraction, and voice-data discrimination. 1 The DSP-based device can be used as a standalone unit or as the field unit of a more complex network supervision system. In this second form, it can exchange data with a remote host computer that controls more DSP units and collects the measurement results in a database. Furthermore, the host unit allows the presentation to the end user of a number of statistical indices related to the data obtained throughout the various measurements. A description of the DSP-based sub-unit is provided in this document. The hardware architecture is summarized and the various measurement algorithms are quoted and discussed as to how they cooperate to give simultaneous measurements on various communication links. Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31 9

Simplified Model of Telecommunication Channels For non-intrusive measurements, a telecommunication channel can be modeled as shown in Figure 1. Figure 1. Simplified Model of a Telecommunication Channel Coder Decoder Phone T 1 H 1 H 2 P 1 P 2 Phone T 2 Decoder Coder The analog signals, generated by either of the devices T 1 and T 2, are at first conveyed by a short-distance, bidirectional, analog twowire line. The analog signals are then separated by the proper hybrid circuit (H 1, H 2 ), filtered using a band-pass filter with cutoff frequencies equal to 0 and 4 khz to avoid aliasing, sampled at F s = 8 khz, and quantified by a uniform 13 bit or 14 bit quantifier. The quantified signals are compressed and encoded on 8 bits according to the A-law or µ-law pulse code modulation scheme. Finally, the encoded signals are transmitted on unidirectional digital channels into the four-wire loop. In this way, each sample of any of the quantified signals is expressed by means of an 8-bit A- law or µ-law PCM code. Hence, since F s = 8 khz, for each unidirectional digital channel a 64 Kbit/s binary data stream is generated. In modern European telecommunication systems, 32 64 Kbit/s data streams are time-division multiplexed thus generating a 2 Mbit/s data stream. In this way, each sampling period of duration T=125µs is divided into 32 equal duration time slots. Each time slot is associated to one of the 32 time division multiplexed channels. According to the CCITT European Standard, one of the 32 time slots is used for synchronization purposes and one for common signaling. Hence, only 30 voice-band channels are actually available. 10 Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31

The DSP-Based Instrument Hardware Architecture A simplified block scheme of the DSP-based Instrument is shown in Figure 2. Figure 2. Block Scheme of the DSP-Based Unit 2Mbit/s Data - Stream Interface CTRL DSP Host I/O Host The proposed system allows the monitoring of two full-duplex voice band channels, corresponding to four time slots in the timedivision multiplexed PCM frame out of the 32 simultaneously transmitted. According to international recommendations, the INMD can be connected only at four-wire test points, such as P 1 and P 2 as shown in Figure 1. The system interacts with a host computer using a modem through the telephone network in a rather complex way. Successive operations are required for the acquisition of the correct samples of the observed channel from the data stream. For this reason, a general-purpose microprocessor has been used, which is represented by the CTRL block of Figure 2. The CTRL unit also controls a switch matrix that can connect the selected channels to the I/O serial port of the DSP. The HOST I/O block is constituted by a modem that allows transmitting and receiving data and commands through the telephone network. In this way, a single host computer can talk with several remote DSP based units. Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31 11

The DSP unit that constitutes the core of the instrument is based on the TI TMS320C31, a 32 bit-floating point processor with a single-cycle execution time equal to 60 ns in the selected configuration. The TMS320C31is includes Two 2 Kbyte blocks of internal RAM One 512 Kbyte block external static RAM One 512 Kbyte block of external dynamic RAM I/O port Direct memory access (DMA) controller The DSP acquires a 32 bit word via a DMA channel every 125 µs. In each acquired word, the first 8 bits represent the A-law PCM coded sample corresponding to the first selected channel, the second 8 bits represent the sample corresponding to the second selected channel, and so on. In this way, four data buffers are generated, each one corresponding to one of the four selected channels. The data buffers are then concurrently processed according to the algorithms briefly summarized in the following section, Measurement Algorithms. The results are written in dual-port memory 512 Kbytes deep, which can be accessed both by the DSP and the CTRL block. 12 Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31

Measurement Algorithms To characterize the degree of quality provided to the user by a telecommunication system, a number of parameters should be evaluated during a telephone call. These parameters usually well describe the degree of quality of a voice communication, but assume a minor interest or a wrong meaning when data communications are involved. Moreover, the percentage of data communications out of the total (data-traffic) is a meaningful and useful parameter when monitoring a telephone-type network because it helps the network provider upgrade the communication channels according to the needs of the user. Therefore, the first operation to be performed is the voice-data discrimination. To this aim, a number of statistical indices are evaluated from the signal. Then, a Bayesian classifier opportunely trained takes the decision by comparing such indices with a threshold chosen in such a way to minimize the probability of classification error. If the communication is a voice communication, a further analysis is performed to detect the presence of echo signals and eventually to evaluate the echo parameters. Two kinds of echoes can be found in telecommunication systems: Hybrid Generated by reflections of the incident signal at the connection between the digital unidirectional and the analog bidirectional wires of the network due to the non-ideal behavior of the hybrid devices Acoustic The effect of coupling between the loudspeaker and the microphone of the telephone A telecommunication network can be well described by a linear system; as a consequence, the echo path can be modeled as a linear filter with impulsive response h[ ]. Thus, if x[ ] is the incident speech, the corresponding echo d[ ] can be expressed as the convolution between x[ ] and h[ ]. To characterize echo signals, international recommendations suggest estimating the delay of the echo signal and echo path loss, defined as the integral of the impulse response of the echo path. 1 Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31 13

A covariance analysis is initially performed on the signals acquired in the two directions of the 4-wire loop. This is to detect the presence of the echo and to estimate the echo delay. Once the echo delay is estimated, the echo path impulse response is obtained using an adaptive filtering technique. An adaptive filter is used, which adjusts its coefficients to minimize an opportunely defined error function. This way, when the filter has converged, its output is a replica of the echo signal and its coefficients estimate the impulsive response h[ ] of the echo path. From the estimated impulse response h[ ], the echo path loss is easily determined. 1 Successively, the speech signal is further processed to estimate the active speech power level and the noise power level. To this aim, a second Bayesian classifier was designed that segments the observed signal in speech intervals and noise intervals. Thus, the active speech power level is estimated from the speech periods, and the noise power level is obtained from the noise periods. An instance of the previous algorithms should be run concurrently for each analyzed communication channel. For this reason, to optimize the performances provided by the DSP unit, a real-time multitasking kernel of an operating system has been implemented to coordinate the various operations performed by the DSP. Very satisfactory results have been obtained by using a slightly modified version of the µc/os kernel described by Labrosse. 2 In the DSP unit, the I/O procedures and the measurement algorithms are organized in three tasks TASK0 TASK1 TASK2 TASK0 controls the I/O operations and prepares the data buffers that must be processed for the estimation of the parameters of interest. TASK1 performs the active speech level and the noise level measurements together with the voice-data discrimination. TASK2 performs the echo measurements. The three tasks are stored in the external 512 Kbyte block of static RAM. The percentile of static RAM and the percentile of available time employed by each task are reported, respectively, in the first and in the second column of Table 1. 14 Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31

Table 1. Percentile of Available Memory and Available Time Employed by the Task Available Available Memory Time (%) (%) TASK0 8 5 TASK1 35 20 TASK2 10 40 When the CTRL block detects an active channel in the analyzed data-stream, it starts the measurement by sending the START command to the DSP unit. To do this, it sets a predefined location of the dual-port memory, which causes TASK0 to be activated. When the data buffers are ready to be processed, TASK1 and TASK2 perform the measurements of the parameters of interest. Then the obtained values are written in the dual-port memory, where the CTRL unit collects them to be transmitted by the modem to the host computer. Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31 15

Experimental Results Table 2. Many experiments have been performed to characterize the performances of the proposed instrument, which has created a wide database of tested sequences. To estimate the probability of error of the voice-data discriminator, a number of data communications have been acquired in such a way to account for all the commonly adopted modulation techniques. A number of conversations between different speakers have been recorded in a clean environment and then corrupted with real-life disturbances. In particular, broadband noise at different levels and echoes at different levels and delays have been added to each conversation. Then, the number of decision errors obtained by the proposed technique on the quoted data base has been evaluated. It has been seen that, on 380 voice sequences and 100 data sequences, the voice-data discrimination has always been performed correctly. The voice communications of the database have then been used to characterize the accuracy of the instrument in the evaluation of the parameters of interest. Table 2 reports the mean and standard deviation of the estimation errors for the parameters of interest. It can be seen that the estimates are almost unbiased for all of the parameters of interest, and very low standard deviations are obtained for the estimates of the noise level and the echo delay. Mean and Standard Deviation of the Estimation Errors for the Parameters of Interest Standard Mean Deviation Act. Speech Level 0.1 [db] 0.8 [db] Noise Level 0.0 [db] 0.1[dB] Echo Path Loss -0.6 [db] 2.0 [db] Echo Delay 0.0 [ms] 0.3 [ms] On the other hand, higher values of the standard deviations of the estimation error are obtained for the active speech level and the echo loss, because of the intrinsic highly variable nature of speech. Furthermore, many in-the-field experiments have been performed. In fact, the proposed instrument is currently being used to characterize the degree of quality provided by the Italian public switched telephone network. 16 Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31

Conclusions A system for a in-service, non-intrusive measurement device was described using the TI TMS320C31 DSP. A simplified model of a telecommunication system was provided. Then, the hardware architecture of the instrument was summarized, the adopted estimation algorithms and the operating system kernel were briefly described. Finally, simulation results that show the accuracy of the instrument were shown and discussed. The in-service, non-intrusive measurement device described in this application report is currently in used for the characterization of the degree of quality provided by the Italian public switched telephone network. Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31 17

References 1 ITU-T Draft Recommendation P.561, In-Service, Non-Intrusive Measurement Device - Voice Service Measurement, International Telecommunication Union, Geneva, September 1995 2 J.J. Labrosse, µc/os. The Real-Time Kernel, R&D Publications Inc., 1992 18 Implementing an In-Service, Non-Intrusive Measurement Device in Telecommunication Networks Using the TMS320C31