<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Modified_AMI_code</id>
	<title>Modified AMI code - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Modified_AMI_code"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Modified_AMI_code&amp;action=history"/>
	<updated>2026-05-01T17:04:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Modified_AMI_code&amp;diff=3158081&amp;oldid=prev</id>
		<title>imported&gt;Boleyn at 12:12, 19 July 2025</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Modified_AMI_code&amp;diff=3158081&amp;oldid=prev"/>
		<updated>2025-07-19T12:12:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Previous revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:12, 19 July 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Short description|Digital telecommunications technique}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Short description|Digital telecommunications technique}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Unreferenced&lt;/del&gt;|date=April 2021}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;refimprove&lt;/ins&gt;|date=April 2021}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Modified AMI codes&amp;#039;&amp;#039;&amp;#039; are a digital telecommunications technique to maintain [[system]] [[synchronization]]. [[Alternate mark inversion]] (AMI) [[line code]]s are modified by deliberate insertion of [[bipolar violation]]s. There are several types of modified AMI codes, used in various [[T-carrier]] and [[E-carrier]] systems.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Modified AMI codes&amp;#039;&amp;#039;&amp;#039; are a digital telecommunications technique to maintain [[system]] [[synchronization]]. [[Alternate mark inversion]] (AMI) [[line code]]s are modified by deliberate insertion of [[bipolar violation]]s. There are several types of modified AMI codes, used in various [[T-carrier]] and [[E-carrier]] systems.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l104&quot;&gt;Line 104:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 104:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[MLT-3 encoding]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[MLT-3 encoding]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[4B3T]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[4B3T]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==References==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{reflist}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Bit-encoding}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Bit-encoding}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Boleyn</name></author>
	</entry>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Modified_AMI_code&amp;diff=27650&amp;oldid=prev</id>
		<title>imported&gt;CoolieCoolster: Added non-breaking space to non-template file size, frequency, bitrate, and bandwidth values (via WP:JWB)</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Modified_AMI_code&amp;diff=27650&amp;oldid=prev"/>
		<updated>2024-04-25T23:19:32Z</updated>

		<summary type="html">&lt;p&gt;Added non-breaking space to non-template file size, frequency, bitrate, and bandwidth values (via &lt;a href=&quot;/wiki143/index.php?title=WP:JWB&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:JWB (page does not exist)&quot;&gt;WP:JWB&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Digital telecommunications technique}}&lt;br /&gt;
{{Unreferenced|date=April 2021}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Modified AMI codes&amp;#039;&amp;#039;&amp;#039; are a digital telecommunications technique to maintain [[system]] [[synchronization]]. [[Alternate mark inversion]] (AMI) [[line code]]s are modified by deliberate insertion of [[bipolar violation]]s. There are several types of modified AMI codes, used in various [[T-carrier]] and [[E-carrier]] systems.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
The [[clock rate]] of an incoming T-carrier is extracted from its bipolar line code. Each signal transition provides an opportunity for the receiver to see the transmitter&amp;#039;s clock. The AMI code guarantees that transitions are always present before and after each mark (1 bit), but are missing between adjacent spaces (0 bits). To prevent loss of [[synchronization]] when a long [[string (computer science)|string]] of zeros is present in the [[payload (computing)|payload]], deliberate bipolar violations are inserted into the line code, to create a sufficient number of transitions to maintain synchronization; this is a form of [[run length limited]] coding. The receive [[terminal equipment]] recognizes the bipolar violations and removes from the user data the marks attributable to the bipolar violations.&lt;br /&gt;
&lt;br /&gt;
T-carrier was originally developed for voice applications. When voice signals are digitized for [[transmission (telecommunications)|transmission]] via T-carrier, the [[data stream]] always includes ample 1 bits to maintain synchronization. (To help this, the [[μ-law algorithm]] for digitizing voice signals encodes silence as a continuous stream of 1 bits.) However, when used for the transmission of [[digital data]], the conventional AMI line code may fail to have sufficient marks to permit recovery of the incoming clock, and synchronization is lost. This happens when there are too many consecutive zeros in the [[User (telecommunications)|user]] [[data]] being transported. &lt;br /&gt;
&lt;br /&gt;
The exact pattern of bipolar violations that is transmitted in any given case depends on the line rate (&amp;#039;&amp;#039;i.e.&amp;#039;&amp;#039;, the level of the line code in the [[T-carrier]] hierarchy) and the polarity of the last valid [[mark frequency|mark]] in the user data prior to the unacceptably long string of zeros. It would not be useful to have a violation immediately following a mark, as that would not produce a transition. For this reason, all modified AMI codes include a space (0 bit) before each violation mark.&lt;br /&gt;
&lt;br /&gt;
In the descriptions below, &amp;quot;{{mono|B}}&amp;quot; denotes a balancing mark with the opposite polarity to that of the preceding mark, while &amp;quot;{{mono|V}}&amp;quot; denotes a bipolar violation mark, which has the same polarity as the preceding mark. In order to preserve AMI coding&amp;#039;s desirable absence of [[DC bias]], the number of positive marks must equal the number of negative marks. This happens automatically for balancing ({{mono|B}}) marks, but the line code must ensure that positive and negative violation marks balance each other.&lt;br /&gt;
&lt;br /&gt;
==Zero length code suppression &amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;Suppression&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
The first technique used to ensure a minimum density of marks was &amp;#039;&amp;#039;&amp;#039;zero code suppression&amp;#039;&amp;#039;&amp;#039; a form of [[bit stuffing]], which set the least significant bit of each 8-bit byte transmitted to a 1. (This bit was already unavailable due to [[robbed-bit signaling]].) This avoided the need to modify the AMI code in any way, but limited available data rates to 56,000 bits per second per [[Digital Signal 0|DS0]] voice channel. Also, the low minimum density of ones (12.5%) sometimes led to increased clock [[slip (telecommunication)|slip]]page on the span.&lt;br /&gt;
&lt;br /&gt;
Increased demand for bandwidth, and compatibility with the [[G.703]] and [[ISDN]] [[Primary Rate Interface|PRI]] standards which called for 64,000 bits per second, led to this system being superseded by B8ZS.&lt;br /&gt;
&lt;br /&gt;
==B8ZS (North American T1) &amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;B8ZS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
Commonly used in the North American T1 ([[Digital Signal 1]]) 1.544 Mbit/s line code, &amp;#039;&amp;#039;&amp;#039;bipolar with eight-zero substitution (B8ZS)&amp;#039;&amp;#039;&amp;#039; replaces each string of 8 consecutive zeros with the special pattern &amp;quot;{{mono|000VB0VB}}&amp;quot;. Depending on the polarity of the preceding mark, that could be {{mono|000+−0−+}} or {{mono|000−+0+−}}.&lt;br /&gt;
&lt;br /&gt;
==B6ZS (North American T2) &amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;B6ZS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
At the North American T2 rate (6.312&amp;amp;nbsp;Mbit/s), bipolar violations are inserted if 6 or more consecutive zeros occur. This line code is called &amp;#039;&amp;#039;&amp;#039;bipolar with six-zero substitution (B6ZS)&amp;#039;&amp;#039;&amp;#039;, and replaces 6 consecutive zeros with the pattern &amp;quot;{{mono|0VB0VB}}&amp;quot;. Depending on the polarity of the preceding mark, that could be {{mono|0+−0−+}} or {{mono|0−+0+−}}.&lt;br /&gt;
&lt;br /&gt;
==HDB3 (European E-carrier) &amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;HDB3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
Used in all levels of the European [[E-carrier]] system, the &amp;#039;&amp;#039;&amp;#039;high density bipolar of order 3 (HDB3)&amp;#039;&amp;#039;&amp;#039; code replaces any instance of 4 consecutive 0 bits with one of the patterns &amp;quot;{{mono|000V}}&amp;quot; or &amp;quot;{{mono|B00V}}&amp;quot;. The choice is made to ensure that consecutive violations are of differing polarity; i.e., separated by an odd number of normal {{mono|+ or −}} marks.&lt;br /&gt;
{|class=wikitable style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|+ HDB 3 coding of 0000{{sub|2}}&lt;br /&gt;
! Parity of +/− bits&amp;lt;br/&amp;gt;since previous V !! Pattern !! Previous pulse !! Coded&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Even || rowspan=&amp;quot;2&amp;quot; | B00V&lt;br /&gt;
| + || −00−&lt;br /&gt;
|-&lt;br /&gt;
| − || +00+&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Odd || rowspan=&amp;quot;2&amp;quot; | 000V&lt;br /&gt;
| + || 000+&lt;br /&gt;
|-&lt;br /&gt;
| − || 000-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
These rules are applied on the code as it is being built from the original string. Every time there are 4 consecutive zeros in the code they will be replaced by either 000−, 000+, +00+ or −00−. To determine which pattern to use, one must count the number of pluses (+) and the number of minuses (−) since the last violation bit V, then subtract one from the other. If the result is an odd number then 000− or 000+ is used. If the result is an even number then +00+ or −00− is used. To determine which polarity to use, one must look at the pulse preceding the four zeros. If 000V form must be used then V simply copies the polarity of last pulse, if B00V form must be used then B and V chosen will have the opposite polarity of the last pulse.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
Here are some examples of bit streams codes with AMI and HDB3. All assume the same starting conditions: the previous 1 bit was −, and the previous violation was an even number of 1 bits ago. (E.g. the preceding bits could have been ++−.)&lt;br /&gt;
{|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Input&amp;#039;&amp;#039;&amp;#039; || {{mono|10000110}}{{sub|2}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;AMI&amp;#039;&amp;#039;&amp;#039;   || {{mono|+0000−+0}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;HDB3&amp;#039;&amp;#039;&amp;#039;  || {{mono|+B00V−+0}}&lt;br /&gt;
|-&lt;br /&gt;
|             || {{mono|+−00−+−0}}&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Input&amp;#039;&amp;#039;&amp;#039; || {{mono|101000001100001100000001}}{{sub|2}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;AMI&amp;#039;&amp;#039;&amp;#039;   || {{mono|+0−00000+−0000+−0000000+}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;HDB3&amp;#039;&amp;#039;&amp;#039;  || {{mono|+0−000V0+−B00V−+B00V000+}}&lt;br /&gt;
|-&lt;br /&gt;
|             || {{mono|+0−000−0+−+00+−+−00−000+}}&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Input&amp;#039;&amp;#039;&amp;#039; || {{mono|1010000100001100001110000111100001010000}}{{sub|2}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;AMI&amp;#039;&amp;#039;&amp;#039;   || {{mono|+0−0000+0000−+0000−+−0000+−+−0000+0−0000}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;HDB3&amp;#039;&amp;#039;&amp;#039;  || {{mono|+0-000V+000V-+B00V-+-000V+-+-B00V+0-B00V}}&lt;br /&gt;
|-&lt;br /&gt;
|             || {{mono|+0-000-+000+-+-00-+-+000+-+-+-00-+0-+00+}}&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Input&amp;#039;&amp;#039;&amp;#039; || {{mono| 10000000000}}{{sub|2}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;AMI&amp;#039;&amp;#039;&amp;#039;   || {{mono|+000000000}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;HDB3&amp;#039;&amp;#039;&amp;#039;  || {{mono|+B00VB00V00}}&lt;br /&gt;
|-&lt;br /&gt;
|             || {{mono|+-00-+00+00}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==B3ZS (North American T3) &amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;B3ZS&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;==&lt;br /&gt;
At the [[DS-3|North American T3]] rate (44.736&amp;amp;nbsp;Mbit/s), bipolar violations are inserted if 3 or more consecutive zeros occur. This line code is called &amp;#039;&amp;#039;&amp;#039;bipolar with three-zero substitution (B3ZS)&amp;#039;&amp;#039;&amp;#039;, and is very similar to HDB3. Each run of 3 consecutive zeros is replaced by &amp;quot;{{mono|00V}}&amp;quot; or &amp;quot;{{mono|B0V}}&amp;quot;. The choice is made to ensure that consecutive violations are of differing polarity, i.e. separated by an odd number of normal {{mono|B}} marks.&lt;br /&gt;
{|class=wikitable style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|+ B3ZS coding of &amp;quot;000&amp;quot;&lt;br /&gt;
! Number of B bits&amp;lt;br/&amp;gt;since last V !! Pattern !! Polarity&amp;lt;br/&amp;gt;of last B !! Coded&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Odd ||rowspan=2 | 00V&lt;br /&gt;
| + || 00+&lt;br /&gt;
|-&lt;br /&gt;
| − || 00−&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2| Even ||rowspan=2 | B0V&lt;br /&gt;
| + || −0−&lt;br /&gt;
|-&lt;br /&gt;
| − || +0+&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
Other line codes that have 3 states:&lt;br /&gt;
* [[Bipolar encoding]] or alternate mark inversion&lt;br /&gt;
* [[Hybrid ternary code]]&lt;br /&gt;
* [[MLT-3 encoding]]&lt;br /&gt;
* [[4B3T]]&lt;br /&gt;
&lt;br /&gt;
{{Bit-encoding}}&lt;br /&gt;
&lt;br /&gt;
{{FS1037C}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Encodings]]&lt;br /&gt;
[[Category:Line codes]]&lt;br /&gt;
[[Category:Multiplexing]]&lt;/div&gt;</summary>
		<author><name>imported&gt;CoolieCoolster</name></author>
	</entry>
</feed>