Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the difference between A-law and Mu-law in PCM coding?

Status
Not open for further replies.

Yarafat

Junior Member level 3
Junior Member level 3
Joined
Jan 30, 2007
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,422
What is different between A-law and Mu-law in PCM coding. can you explain me in detail please or give any document related to those? thank
 

telecom

What is the function of overhead in SHD system (Synchronous Hierachy Digital)?

MODERATOR ACTION: topic merged you can asked the question under same topic instead of making same post two time read forum rules becarefull next time you will get warning Fragrance
 

Re: telecom

The overhead and transport functions are divided into layers. They are:
Regenerator Section
Multiplex Section
Path

The layers have a hierarchical relationship, with each layer building on the services provided by all the lower layers. This section details the different SDH overhead information, specifically:
Regenerator Section Overhead
Multiplex Overhead
Path Overhead

Regenerator Section Overhead
The Regenerator Section Overhead contains only the information required for the elements located at both ends of a section. This might be two regenerators, a piece of line terminating equipment and a regenerator, or two pieces of line terminating equipment.
The Regenerator Section Overhead is found in the first three rows of Columns 1 through 9 of the STM-1 frame

Multiplex Section Overhead
The Multiplex Section Overhead contains the information required between the multiplex section termination equipment at each end of the Multiplex section (that is, between consecutive network elements excluding the regenerators).
The Multiplex Section Overhead is found in Rows 5 to 9 of Columns 1 through 9 of the STM-1 frame.

Higher-Order Path Overhead (VC-4/VC-3)
The Path Overhead is assigned to, and transported with the Virtual Container from the time it’s created by path terminating equipment until the payload is demultiplexed at the termination point in a piece of path terminating equipment.
The Path Overhead is found in Rows 1 to 9 of the first column of the VC-4 or VC-3.

Lower-Order Path Overhead (VC-2/VC-1)
The bytes V5, J2, N2, and K4 are allocated to the VC-2/VC-1 POH. The V5 byte is the first byte of the multiframe and its position is indicated by the TU-2/TU-1 pointer. The V5 byte provides the functions of error checking, signal label, and path status of the VC-2/VC-1 paths. The bit assignments for the V5 byte and the byte-by-byte Lower Order Path Overhead.


Hope this can help and please correct me if i'm wrong.


Regards,
Keng Loong
 

Re: telecom

There are two PCM algorithms defined within CCITT G.711, called "A-Law" and "Mu-Law". Mu-Law PCM is used in North America and Japan, and A-Law used in most other countries. In both A-Law and Mu-Law PCM, the values used to represent the amplitude is a number between 0 and +/- 127; therefore, 8 bits are required to represent each sample (2 to the eigth power = 256).

It can be seen then that PCM operates at a rate of: 8 bits/sample * 8000 samples/sec = 64000 (64K) Bits Per Second.


PCM Numerical Value Representation

The left-most bit (Bit 1) is transmitted first, and is the Most Significant Bit (MSB). This bit is known as the "sign" bit, and is a 1 for positive values and a 0 for negative values (both PCM types). Bits 2 through 8 are inverted between A-Law PCM and Mu-Law PCM.

In A-Law, the even bits ("2,4,6,8") are inverted. Thus, an A-Law code of 00000000 is actually transmitted as 01010101 (hexadecimal "55"). In Mu-Law, a zero-level hex value of "7F" is used to represent unequipped DS0 timeslots.

In Mu-Law, the digital sequence of "00000010" is substituted for the -126 and -127 numerical values ("00000001" and "00000000", respectively). This process is known as B7ZCS (Bit 7 Zero Code Suppression) or sometimes referred to as ZCS (Zero Code Suppression).


Mu-Law Companding

The Mu-Law compander operates on a logarithmic curve.

The analog signal is comprised of +/- 8159 equal-amplitude intervals. At the minimal positive power level (11111111), the number of intervals is one, with an interval size of one. Between the numerical values of 1 and 16, there are 15 intervals, each representing two intervals.
The maximum level (Tmax) supported with Mu-Law PCM is +3.17 dBM0.


A-Law Companding

The A-Law compander operates on a logarithmic curve.

The analog signal is comprised of +/- 4096 equal-amplitude intervals. Between the numerical values of 0 and 32, there are 32 intervals, each representing two intervals.
The maximum level (Tmax) supported with A-Law PCM is +3.14 dBM0.


A-Law --- Mu-Law Comparisons

Note that by reducing the A-Law interval size in half (doubling the number of intervals to 8192), a fairly accurate comparison of the two quantizing algorithms can be achieved.

At all numerical values between 33 and 127, the two algorithms perform similarly. However, the added granularity of the Mu-Law steps below numerical values of 32 results in slightly improved Signal-To-Quantizing Distortion ratios at low levels. The Mu-law has slightly higher quantizing noise since the all-zero word is not used.

At the application level, there is no noticeable difference in voice performance between these two algorithms!
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top