Bit stuffing

In data transmission and telecommunication, bit stuffing (also known—uncommonly—as positive justification) is the insertion of non-information bits into data. Stuffed bits should not be confused with overhead bits.

Bit stuffing is used for various purposes, such as for bringing bit streams that do not necessarily have the same or rationally related bit rates up to a common rate, or to fill buffers or frames. The location of the stuffing bits is communicated to the receiving end of the data link, where these extra bits are removed to return the bit streams to their original bit rates or form. Bit stuffing may be used to synchronize several channels before multiplexing or to rate-match two single channels to each other.

Another use of bit stuffing is for run length limited coding: to limit the number of consecutive bits of the same value in the data to be transmitted. A bit of the opposite value is inserted after the maximum allowed number of consecutive bits. Since this is a general rule the receiver doesn't need extra information about the location of the stuffing bits in order to do the de-stuffing. This is done to create additional signal transitions to ensure reliable reception or to escape special reserved code words such as frame sync sequences when the data happens to contain them.

Bit stuffing in CAN after five equal bits.

Bit stuffing does not ensure that the payload is intact (i.e. not corrupted by transmission errors); it is merely a way of attempting to ensure that the transmission starts and ends at the correct places. Error detection and correction techniques are used to check the frame for corruption after its delivery and, if necessary, the frame will be re-sent.

Zero-bit insertion

The NRZI coding scheme transmits a 0 bit as a signal transition, and a 1 bit as no change. In this case, bit stuffing is most easily described as the insertion of a 0 bit after a long run of 1 bits.

It was popularized by IBM's SDLC (later renamed HDLC), and is also used in Low- and full-speed USB.

After a long sequence of 1 bits there would be no transitions in the transmitted data, and it would be possible for the transmitter and receiver clocks to lose synchronisation. By inserting a 0 after five (SDLC) or six (USB) consecutive 1 bits the transmitter guarantees a maximum of six (SDLC) or seven (USB) bit times between transitions. The receiver can synchronise its clock against the transitions to ensure proper data recovery.

In SDLC the transmitted bit sequence "01111110" containing six adjacent 1 bits is the Flag byte. Bit stuffing ensures that this pattern can never occur in normal data, so it can be used as a marker for the beginning and end of the frame without any possibility of being confused with normal data.[1]

The main disadvantage of bit-stuffing is that the code rate is unpredictable; it depends on the data being transmitted.

Source: from Federal Standard 1037C in support of MIL-STD-188

See also

Notes

  1. ^ Kevin R. Fall and W. Richard Stevens, TCP/IP Illustrated Volume 1: The Protocols, Second Edition, Addison-Wesley, 2012, Kindle Edition loc 3505

Read other articles:

Hamparan hutan di Taman Nasional Danau Sentarum, Kalimantan Barat. Alam liar adalah lingkungan hidup di Bumi yang belum banyak tersentuh oleh kegiatan manusia atau penggarapan tanah untuk pertanian.[1][2] Sering pula diartikan sebagai wilayah liar dan belum dibudidayakan seperti hutan atau gurun yang tidak ditinggali oleh manusia dan hanya dihuni oleh binatang buas. Istilah ini secara tradisional merujuk pada lingkungan di darat, tetapi saat ini juga dapat digunakan untuk merujuk…

Untuk insiden yang pernah terjadi, lihat Insiden Alastlogo. LekokKecamatanNegara IndonesiaProvinsiJawa TimurKabupatenPasuruanPemerintahan • CamatFatchurrochmanPopulasi • Total500,000 jiwa jiwaKode Kemendagri35.14.22 Kode BPS3514230 Luas- km²Desa/kelurahan11 desa Pemandangan pantai Lekok (1915-1918) Pantai Lemongkrong dekat Lekok (1916) Lekok adalah sebuah kecamatan di Kabupaten Pasuruan, Provinsi Jawa Timur, Indonesia. Lekok memiliki 4 desa pesisir: Tambaklekok, Jat…

Wakil Menteri Pekerjaan Umum IndonesiaBekas jabatan politikLogo Kementerian Pekerjaan Umum IndonesiaHermanto Dardak, Wakil Menteri Pekerjaan Umum Indonesia terakhirPenggantiWakil Menteri Pekerjaan Umum dan Perumahan Rakyat IndonesiaPejabat pertamaHerling LaohPejabat terakhirHermanto DardakPelantikPresiden IndonesiaJabatan dimulai12 Maret 1946; 77 tahun lalu (1946-03-12)Jabatan berakhir20 Oktober 2014; 9 tahun lalu (2014-10-20) Wakil Menteri Pekerjaan Umum Indonesia, umumnya disingkat W…

World War II naval battle Battle of the Barents SeaPart of World War IIBattle of the Barents Sea, Erwin J. Kappes (sinking of the Friedrich Eckholdt)Date31 December 1942LocationBarents Sea, Arctic Ocean73°15′N 29°00′E / 73.25°N 29°E / 73.25; 29Result British victoryBelligerents  United Kingdom  Nazi GermanyCommanders and leaders Robert Burnett Robert Sherbrooke  (WIA) Oskar KummetzStrength 2 light cruisers 6 destroyers 2 corvettes 1 minesweeper 2 tr…

U.S. election campaign Robert F. Kennedy for President 1968Campaign1968 United States presidential election (Democratic primaries)CandidateRobert F. KennedyU.S. Senator from New York(1965–1968)AffiliationDemocratic PartyStatusAnnounced: March 16, 1968Assassinated: June 6, 1968Key peopleJoseph Gargan, chairman[1] The Robert F. Kennedy presidential campaign began on March 16, 1968, when Robert Francis Kennedy, a United States Senator from New York, mounted an unlikely challenge to i…

Untuk tokoh Alkitab yang menjadi nama dari kitab ini, lihat Habakuk. Bagian dari Alkitab KristenPerjanjian LamaYosua 1:1 pada Kodeks Aleppo Taurat Kejadian Keluaran Imamat Bilangan Ulangan Sejarah Yosua Hakim-hakim Rut 1 Samuel 2 Samuel 1 Raja-raja 2 Raja-raja 1 Tawarikh 2 Tawarikh Ezra Nehemia Ester Puisi Ayub Mazmur Amsal Pengkhotbah Kidung Agung Kenabian Besar Yesaya Yeremia Ratapan Yehezkiel Daniel Kecil Hosea Yoël Amos Obaja Yunus Mikha Nahum Habakuk Zefanya Hagai Zakharia Maleakhi Deutero…

Untuk kuda balap, lihat Subotica (kuda). Salah satu sudut Subotica Subotica (Kiril Serbia: Суботица, bahasa Hungaria: Szabadka) ialah sebuah kota dan kotamadya di Vojvodina, Serbia. Kotamadya terbesar di Vojvodina ini berpenduduk 148.401 jiwa, sedangkan kotanya berpenduduk 99.981 jiwa. Subotica juga merupakan ibu kota Distrik Backa Utara. Demografi Persebaran kelompok etnis: Hungaria = 57.092 (38,47%) Serbia = 35.826 (24,14%) Kroasia = 16.688 (11,24%) Bunjevci = 16.254 (10,95%) Yugoslavi…

FF DaxKategoriSans-serifKlasifikasiDisplay FontPerancangHans ReichelPenerbitFont FontDibuat1995 - 2000Diluncurkan2000 FF Dax adalah rupa huruf tanpa kait (sans-serif) bergaya humanis yang dirancang dan dikembangkan oleh Hans Reichel pada tahun 1995-2000 dan dirilis oleh Font Font tahun 2000. Rupa huruf ini populer digunakan sejak tahun 2000, untuk berbagai huruf display iklan dan logotype. Pada tahun 2005 Hans Reichel meredesain rupa huruf ini dan merilisnya sebagai FF Daxline. Penggunaan FF Dax…

Untuk orang-orang dengan nama yang sama, lihat Paul Lucas (disambiguasi). Bentuk asli dari nama pribadi ini adalah Lukács Pál. Artikel ini menggunakan rangkaian nama Barat. Paul LukasLukas pada tahun 1950LahirPál Lukács(1891-05-26)26 Mei 1891Budapest, Austria-HungariaMeninggal15 Agustus 1971(1971-08-15) (umur 80)Tangier, MarokoPekerjaanActorTahun aktif1916–70Suami/istriGizella Daisy Benes (1927–1962; kematiannya)Annette M. Driesens (1963–1971; kematiannya)Orang tuaMária Zila…

Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Certaines informations figurant dans cet article ou cette section devraient être mieux reliées aux sources mentionnées dans les sections « Bibliographie », « Sources » ou « Liens externes » (décembre 2018). Vous pouvez améliorer la vérifiabilité en associant ces informations à des références à l'aide d'appels de notes. Cet article est une ébauche concernant l’histoir…

Stasiun Sawah Besar B04 Stasiun Sawah Besar bersama kantor pusat PT KAPM (KAI Properti)LokasiJalan Krekot JayaPasar Baru, Sawah Besar, Jakarta Pusat, 10710IndonesiaKoordinat6°9′44″S 106°49′33″E / 6.16222°S 106.82583°E / -6.16222; 106.82583Koordinat: 6°9′44″S 106°49′33″E / 6.16222°S 106.82583°E / -6.16222; 106.82583Ketinggian+15 mOperator KAI Commuter Letakkm 3+836 lintas Jakarta-Manggarai-Bogor/Nambo[1] Jumlah peronD…

Cet article est une ébauche concernant la politique. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. George Wallace (devant la porte) défiant la déségrégation de l'université de l'Alabama en juin 1963. La déségrégation est un processus visant à mettre fin à la ségrégation raciale ou sociale au sein d'un territoire. Ce terme est principalement utilisé aux États-Unis pour faire référence à l'objectif…

Peta yang menunjukkan daerah Apayao Apayao merupakan sebuah provinsi di Filipina. Ibu kota provinsi ini ialah Kabugao. Provinsi ini berbatasan dengan Cagayan, Abra, Ilocos Norte, dan Provinsi Kalinga. Provinsi ini memiliki luas wilayah 4.351,23 km² dengan memiliki jumlah penduduk 103.633 jiwa (2007) dengan kepadatan penduduk 24 jiwa/km². Pembagian wilayah Provinsi Apayao dibagi menjadi 7 munisipalitas, yaitu: Calanasan (Bayag) Conner Flora Kabugao Luna Pudtol Santa Marcela Pranala luar Th…

Sydney Town Hall Sydney Town Hall adalah sebuah markah tanah berupa bangunan batu pasir yang terletak di jantung Sydney. Berdiri di seberang Queen Victoria Building dan di samping St Andrew's Cathedral. Berada di atas stasiun Town Hall dan antara jalan bioskop di George Street dan Central Business District, tangga Town Hall adalah tempat bertemu paling populer. Sejarah dan penjelasan Town Hall dibangun tahun 1880-an -- terletak di tanah bekas pemakaman tua -- dari batu pasir Sydney dengan gaya K…

† Человек прямоходящий Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:СинапсидыКл…

Overview of education in Portugal Education in PortugalMinistry of EducationMinisterJoão Marques da Costa (2022–present)National education budget (2006)Budget€ 6.1 billionGeneral detailsPrimary languagesPortugueseSystem typeNationalOriginsUniversity SchoolsPolytechnic SchoolsIndustrial InstitutesPolytechnical InstitutesMajor reorganizationsBologna process12th century2 (established)12903 (established)1837 to 191141852 to 197451970s - 1980s6 (established)1990s and 2000s720078 (established)Lit…

Football stadium in the north of Munich, Bavaria, Germany For other uses, see Allianz Stadium. Allianz ArenaSchlauchboot (dinghy).[1][2]Fußball Arena München (UEFA competitions)UEFA Full nameAllianz ArenaAddressWerner-Heisenberg-Allee 25, 80939[citation needed]LocationMunich, Bavaria, GermanyPublic transit at FröttmaningOwnerAllianz Arena München Stadion GmbH[citation needed]OperatorAllianz Arena München Stadion GmbH[citation needed]Executive suites10…

Pidgin trade language from the Pacific Northwest Chinook Jargonchinuk wawa, wawa, chinook lelang, lelang, chinookNative toCanada, United StatesRegionPacific Northwest (Interior and Coast): Alaska, The Yukon, British Columbia, Washington State, Oregon, Idaho, Montana, Northern CaliforniaNative speakers1 (2013)[1]Language familyMainly Wakashan (Nootka Jargon), Chinookan, and Indo-European (Germanic and Italic)Writing systemDe facto Latin,historically Duployan;currently standardiz…

Politics of São Tomé and Príncipe Constitution Human rights LGBT rights Executive President Carlos Vila Nova Government Prime Minister Patrice Trovoada Council of Ministers Legislature National Assembly President: Jose da Graca Diogo Judiciary Supreme Court of Justice Elections Recent elections Presidential: 20162021 Legislative: 20182022 Political parties Administrative divisions Autonomous Region of Príncipe Districts Foreign relations Ministry of Foreign Affairs, Cooperation and Communiti…

Cet article est une ébauche concernant les Nord-Amérindiens et le Canada. Vous pouvez partager vos connaissances en l’améliorant (comment ?) ; pour plus d’indications, visitez le projet Nord-Amérindiens. Carte des sept districts de Mi'kma'ki Carte de la Nouvelle-Écosse présentant la localisation des réserves micmaques sur l'île Le Mi'kma'ki ou Mi'gma'gi est le territoire national des Micmacs (Mi'kmaq ou Mi'gmaq), une Première Nation de l'Est du Canada. Il e…

Kembali kehalaman sebelumnya