Modified AMI code

Modified AMI codes are a digital telecommunications technique to maintain system synchronization. Alternate mark inversion (AMI) line codes are modified by deliberate insertion of bipolar violations. There are several types of modified AMI codes, used in various T-carrier and E-carrier systems.

Overview

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'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 of zeros is present in the 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.

T-carrier was originally developed for voice applications. When voice signals are digitized for 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 data being transported.

The exact pattern of bipolar violations that is transmitted in any given case depends on the line rate (i.e., the level of the line code in the T-carrier hierarchy) and the polarity of the last valid 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.

In the descriptions below, "B" denotes a balancing mark with the opposite polarity to that of the preceding mark, while "V" denotes a bipolar violation mark, which has the same polarity as the preceding mark. In order to preserve AMI coding's desirable absence of DC bias, the number of positive marks must equal the number of negative marks. This happens automatically for balancing (B) marks, but the line code must ensure that positive and negative violation marks balance each other.

Zero length code suppression

The first technique used to ensure a minimum density of marks was zero code suppression 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 DS0 voice channel. Also, the low minimum density of ones (12.5%) sometimes led to increased clock slippage on the span.

Increased demand for bandwidth, and compatibility with the G.703 and ISDN PRI standards which called for 64,000 bits per second, led to this system being superseded by B8ZS.

B8ZS (North American T1)

Commonly used in the North American T1 (Digital Signal 1) 1.544 Mbit/s line code, bipolar with eight-zero substitution (B8ZS) replaces each string of 8 consecutive zeros with the special pattern "000VB0VB". Depending on the polarity of the preceding mark, that could be 000+−0−+ or 000−+0+−.

B6ZS (North American T2)

At the North American T2 rate (6.312 Mbit/s), bipolar violations are inserted if 6 or more consecutive zeros occur. This line code is called bipolar with six-zero substitution (B6ZS), and replaces 6 consecutive zeros with the pattern "0VB0VB". Depending on the polarity of the preceding mark, that could be 0+−0−+ or 0−+0+−.

HDB3 (European E-carrier)

Used in all levels of the European E-carrier system, the high density bipolar of order 3 (HDB3) code replaces any instance of 4 consecutive 0 bits with one of the patterns "000V" or "B00V". The choice is made to ensure that consecutive violations are of differing polarity; i.e., separated by an odd number of normal + or − marks.

HDB 3 coding of 00002
Parity of +/− bits
since previous V
Pattern Previous pulse Coded
Even B00V + −00−
+00+
Odd 000V + 000+
000-

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.

Examples

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 ++−.)

Input 100001102
AMI +0000−+0
HDB3 +B00V−+0
+−00−+−0
Input 1010000011000011000000012
AMI +0−00000+−0000+−0000000+
HDB3 +0−000V0+−B00V−+B00V000+
+0−000−0+−+00+−+−00−000+
Input 10100001000011000011100001111000010100002
AMI +0−0000+0000−+0000−+−0000+−+−0000+0−0000
HDB3 +0-000V+000V-+B00V-+-000V+-+-B00V+0-B00V
+0-000-+000+-+-00-+-+000+-+-+-00-+0-+00+
Input 100000000002
AMI +000000000
HDB3 +B00VB00V00
+-00-+00+00

B3ZS (North American T3)

At the North American T3 rate (44.736 Mbit/s), bipolar violations are inserted if 3 or more consecutive zeros occur. This line code is called bipolar with three-zero substitution (B3ZS), and is very similar to HDB3. Each run of 3 consecutive zeros is replaced by "00V" or "B0V". The choice is made to ensure that consecutive violations are of differing polarity, i.e. separated by an odd number of normal B marks.

B3ZS coding of "000"
Number of B bits
since last V
Pattern Polarity
of last B
Coded
Odd 00V + 00+
00−
Even B0V + −0−
+0+

See also

Other line codes that have 3 states:

Public Domain This article incorporates public domain material from Federal Standard 1037C. General Services Administration. Archived from the original on 2022-01-22.

Read other articles:

ArjowinangunDesaNegara IndonesiaProvinsiJawa TimurKabupatenPacitanKecamatanPacitanKode pos63516Kode Kemendagri35.01.04.2007 Luas... km²Jumlah penduduk... jiwaKepadatan... jiwa/km² Jembatan Arjowinangun Arjowinangun adalah sebuah desa di Kecamatan Pacitan, Kabupaten Pacitan, Provinsi Jawa Timur, Indonesia. Pranala luar (Indonesia) Keputusan Menteri Dalam Negeri Nomor 050-145 Tahun 2022 tentang Pemberian dan Pemutakhiran Kode, Data Wilayah Administrasi Pemerintahan, dan Pulau tahun 2021 ...

 

Halaman ini berisi artikel tentang satuan daerah dalam pengertian umum. Untuk satuan administrasi wilayah Indonesia, lihat Kota (Indonesia). Untuk kegunaan lain, lihat Kota (disambiguasi). Lihat entri kota di kamus bebas Wiktionary. Cahaya kota-kota dunia dari antariksa. NASA. Oleh Marc Imhoff Kota (Inggris: citycode: en is deprecated ) adalah pusat permukiman dan kegiatan penduduk yang mempunyai batas wilayah administrasi yang diatur dalam peraturan perundang-undangan serta pemukiman yang te...

 

  لمعانٍ أخرى، طالع أمريكانا (توضيح).   أمريكانا   أمريكانا (البرازيل) أمريكانا (البرازيل)  خريطة الموقع تاريخ التأسيس 1875  تقسيم إداري البلد البرازيل  [1][2] التقسيم الأعلى ساو باولو  خصائص جغرافية إحداثيات 22°44′20″S 47°19′51″W / 22.738888888889°S 47.33083...

Ciptadana Sekuritas AsiaJenisJasa KeuanganKantorpusatJakarta, Indonesia TokohkunciJohn Herry Teja (Presiden Direktur)Situs webwww.ciptadan-sekuritas-asia.com Ciptadana Sekuritas Asia adalah sebuah perusahaan sekuritas yang didirikan pada tahun 2005. Kantor pusat Ciptadana Sekuritas Asia berada di Jakarta, Indonesia. Ciptadana Sekuritas Asia berstatus sebagai anak perusahaan dari Ciptadana Capital. Pendirian Pada awal pendiriannya, Ciptadana Sekuritas Asia bernama Ciptadana Sekuritas. Pemilik ...

 

Chien Wei-zangChien en 1937.FonctionsMembre du comité national de la conférence consultative politique du peuple chinois9e comité national de la conférence consultative politique du peuple chinois (d)8e comité national de la conférence consultative du peuple chinois (d)7e comité national de la conférence consultative du peuple chinois (d)6e comité national de la conférence consultative du peuple chinois (d)Député4e Assemblée nationale populaire (en)1re Assemblée nationale popula...

 

تاونسفيل   الإحداثيات 19°15′44″S 146°48′57″E / 19.262222222222°S 146.81583333333°E / -19.262222222222; 146.81583333333 [1]  تاريخ التأسيس 1865  تقسيم إداري  البلد أستراليا[2][3]  خصائص جغرافية  المساحة 140.2 كيلومتر مربع  ارتفاع 6 متر  عدد السكان  عدد السكان 178649 (2016)[4 ...

この項目には、一部のコンピュータや閲覧ソフトで表示できない文字が含まれています(詳細)。 数字の大字(だいじ)は、漢数字の一種。通常用いる単純な字形の漢数字(小字)の代わりに同じ音の別の漢字を用いるものである。 概要 壱万円日本銀行券(「壱」が大字) 弐千円日本銀行券(「弐」が大字) 漢数字には「一」「二」「三」と続く小字と、「壱」「�...

 

此條目可参照英語維基百科相應條目来扩充。 (2022年1月31日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记{{Translated page}}标签。 艾哈迈德·哈桑·贝克尔أحمد حسن البكر第4任伊拉克总统任期1968年7月17日—1979年7月16日副总统萨达姆·侯...

 

American judge (born 1970) For the Australian rules footballer, see Nina Morrison. Nina MorrisonJudge of the United States District Court for the Eastern District of New YorkIncumbentAssumed office August 11, 2022Appointed byJoe BidenPreceded byDora Irizarry Personal detailsBorn1970 (age 53–54)New York City, New York, U.S.ParentAlan Morrison (father)EducationYale University (BA)New York University (JD) Nina Rauh Morrison (born 1970)[1] is an American lawyer who serves a...

For other uses, see Scottish Labour Party (disambiguation). Former left-wing political party in Scotland Scottish Labour Party PresidentRobert Bontine Cunninghame GrahamSecretary-GeneralKeir HardieFounderRobert Bontine Cunninghame GrahamKeir HardieFounded25 August 1888Dissolved1895Split fromScottish Land Restoration LeagueMerged intoIndependent Labour PartySucceeded byScottish LabourIdeologySocialismNationalisationHome rulePolitical positionLeft-wingSloganNo Noble Task Was...

 

Diaspora community of Việt people Ethnic group Vietnamese diasporaViệt kiều Người Việt hải ngoạiTotal population5,300,000 (official estimates)[1][2] United States2,183,000 (2019)[3] Cambodia400,000–1,000,000[4] Japan520,154 (2023)[5] France300,000[6]–350,000[7][8] Australia334,781 (2021)[9] Canada275,530 (2021)[10] Taiwan246,973 (2023)[a]–470,000[...

 

Fufu dengan sup kacang Fufu dengan sup kelapa sawit Pembuatan fufu dengan cara menumbuk secara langsung singkong yang direbus hingga menjadi seperti adonan Fufu adalah makanan pokok asal Afrika yang terbuat dari singkong, namun juga bisa dibuat dari tepung jagung, tepung gandum, dan tepung pisang. Makanan yang terbuat dari bahan-bahan tersebut memiliki nama yang bervariasi tergantung daerahnya, dan nama fufu lebih terkenal di Afrika Barat. Di suku Hausa, Nigeria Utara, makanan ini disebut Sak...

In Uzbekistan l'omosessualità maschile è illegale ed è punita con una multa o una pena detentiva fino a 3 anni a differenza di quella femminile che è legale.[1] Leggi relative all'omosessualità Le persone LGBT non dispongono di alcuna tutela all'interno del paese e non esiste alcun riconoscimento legale per le coppie formate da persone dello stesso sesso. Tabella riassuntiva Depenalizzazione dell'omosessualità maschile (punita fino a 3 anni di carcere) / femminile Uguale età de...

 

English rower and clergyman For the politician, see Edward Moon (MP). Sir Edward Graham Moon, 2nd Baronet (25 March 1825 – 21 February 1904),[1] was an English rower and clergyman. Moon was the son of Sir Francis Moon, 1st Baronet, and his wife Anne Chancellor. His father was a printseller and publisher and Lord Mayor of London.[2] Moon was educated at Magdalen College, Oxford, where he was a leading oarsman. In 1846 he won the University Sculls and the Diamond Challenge Scu...

 

This article needs to be updated. Please help update this article to reflect recent events or newly available information. (June 2024) Violence against LGBT people is part of the ideology of ISIL, which mandates capital punishment for homosexuality within its territory, in Iraq, Syria and Libya. LGBT rights in Islamic State of Iraq and the Levant (ISIL)Islamic stateStatusIllegal: Islamic law (sharīʿa) is appliedPenaltyExecution, imprisonment, lashings, fines, vigilante tortures, beatings, ...

Các lãnh đạo hiện tạiLãnh đạo Đa sốSteve Scalise(Cộng hoà)Phó Lãnh đạo Đa sốTom Emmer(Cộng hoà)Lãnh đạo Thiểu sốHakeem Jeffries(Dân chủ)Phó Lãnh đạo Thiểu sốKatherine Clark(Dân chủ)Các lãnh đạo đảng trong Hạ viện Hoa Kỳ Các lãnh đạo đảng trong Hạ viện Hoa Kỳ được bầu lên bởi các đảng tương ứng riêng của mình trong một cuộc họp kín của đảng. Ngoài Chủ tịch Hạ viện Hoa Kỳ...

 

Двухэтажный электропоезд-аэроэкспресс ЭШ2 Двухэтажный высокоскоростной электропоезд TGV Duplex Вагоны TGV Duplex Двухэтажный вагон или двухъярусный вагон — вагон, в котором для увеличения пассажировместимости устроены два салона для пассажиров, один над другим. Двухэтажны�...

 

Muhammad Baqir Maylisi Información personalNacimiento 1627 Isfahán (Irán) Fallecimiento 29 de marzo de 1699 Isfahán (Irán) Sepultura Allameh Majlesi Mausoleum Religión Imamíes FamiliaPadre Muhammad Taqi al-Majlisi EducaciónAlumno de Al-Hurr al-Amilí Información profesionalOcupación Muhadiz Área Ciencia del hadiz Obras notables Bihar al-Anwar [editar datos en Wikidata] Muhammad Baqir Maylisi (árabe: محمد باقر مجلسي‎) hijo de Muhammad Taqi y famoso como...

Type of coin This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages) This article's factual accuracy is disputed. Relevant discussion may be found on the talk page. Please help to ensure that disputed statements are reliably sourced. (January 2020) (Learn how and when to remove this message) This article needs additional citations for verification. Please help improve this article by adding citations to r...

 

سيدي محمد ولد الشيخ عبد الله مناصب رئيس موريتانيا (7 )   في المنصب19 أبريل 2007  – 6 أغسطس 2008  إعلي ولد محمد فال  محمد ولد عبد العزيز  معلومات شخصية الميلاد سنة 1938   ألاك  الوفاة 23 نوفمبر 2020 (81–82 سنة)[1]  نواكشوط[2]  سبب الوفاة قصور كلوي  مواطنة م...