Jump to content

Alternate Mark Inversion

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RobNich (talk | contribs) at 07:23, 6 September 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In computing, and particularly in T1, E1, and other data transmission lines, Alternate Mark Inversion or AMI is a line encoding technique (line code) 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 d.c. voltage in the cable. This is considered an advantage since the cable may be used to carry a small d.c. 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.

The HDB3 and B8ZS encoding schemes are two of many which have been developed to provide regular transitions irrespective of the pattern of data being carried.

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