Jump to content

Alternate Mark Inversion

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SimonP (talk | contribs) at 04:39, 8 February 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Alternate Mark Inversion (AMI) is a line encoding technique (line code) for T1s which uses bipolar pulses to represent logical 1 values. It is therefore a three-level system. A logical 0 is represented by no symbol, and a logical 1 by pulses of alternating polarity. The alternating coding prevents the build-up of a DC voltage in the cable. This is considered an advantage since the cable may be used to carry a small DC current to power intermediate equipment such as line repeaters.

AMI coding was used extensively in first-generation PCM networks, but suffers the drawback that a long run of 0's produces no transitions in the data stream (and therefore does not contain sufficient transitions to guarantee lock of a DPLL). Successful transmission therefore relies on the user not wishing to send long runs of 0's and this type of encoding is not therefore transparent to the sequence of bits being sent. For voice traffic the least significant bit of each frame (every eighth bit) is always set to '1', thereby generating enough transitions on the line. This is acceptable for voice, but not for data.

There are other encoding schemes are two of many which have been developed to provide regular transitions irrespective of the data being carried. B8ZS is a newer format for North America, where HDB3 is the original line coding type used in Europe and Japan.

Example of AMI encoding: The pattern of bits " 1 0 0 0 0 1 1 0 " encodes to " + 0 0 0 0 - + 0 ".