<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Manchester_code</id>
	<title>Manchester code - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Manchester_code"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Manchester_code&amp;action=history"/>
	<updated>2026-04-19T19:27:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Manchester_code&amp;diff=27466&amp;oldid=prev</id>
		<title>109.224.135.251: /* References */ UK</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Manchester_code&amp;diff=27466&amp;oldid=prev"/>
		<updated>2025-08-05T10:59:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;References: &lt;/span&gt; UK&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{short description|Line code used in early magnetic data storage and Ethernet}}&lt;br /&gt;
{{Use dmy dates|date=April 2022}}&lt;br /&gt;
&lt;br /&gt;
In [[telecommunications]] and [[computer data storage|data storage]], &amp;#039;&amp;#039;&amp;#039;Manchester code&amp;#039;&amp;#039;&amp;#039; (also known as &amp;#039;&amp;#039;&amp;#039;phase encoding&amp;#039;&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;&amp;#039;PE&amp;#039;&amp;#039;&amp;#039;) is a [[line code]] in which the encoding of each data [[bit]] is either low then high, or high then low, for equal time. It is a [[self-clocking signal]] with no [[DC component]]. Consequently, electrical connections using a Manchester code are easily [[galvanic isolation|galvanically isolated]].&lt;br /&gt;
&lt;br /&gt;
Manchester code derives its name from its development at the [[University of Manchester]], where the coding was used for storing data on the magnetic drums of the [[Manchester Mark 1]] computer.&lt;br /&gt;
&lt;br /&gt;
Manchester code was widely used for [[magnetic recording]] on 1600&amp;amp;nbsp;bpi computer tapes before the introduction of 6250&amp;amp;nbsp;bpi tapes which used the more efficient [[group-coded recording]].&amp;lt;ref&amp;gt;{{cite web |title=Digital Magnetic Tape Recording |author-first=John J. G. |author-last=Savard |date=2018 |orig-year=2006 |work=quadibloc |url=http://www.quadibloc.com/comp/tapeint.htm |access-date=2018-07-16 |url-status=dead |archive-url=https://web.archive.org/web/20180702234956/http://www.quadibloc.com/comp/tapeint.htm |archive-date=2018-07-02 }}&amp;lt;/ref&amp;gt; Manchester code was used in early [[Ethernet physical layer]] standards and is still used in [[consumer IR]] protocols, [[RFID]] and [[near-field communication]]. It was and still is used for uploading commands to the [[Voyager spacecraft]].&amp;lt;ref&amp;gt;{{cite web |last1=Hughes |first1=Mark |title=Communicating Over Billions of Miles: Long Distance Communications in the Voyager Spacecraft |url=https://www.allaboutcircuits.com/news/voyager-mission-anniversary-celebration-long-distance-communications/ |website=All About Circuits |access-date=27 September 2024 |date=2 July 2017}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
Manchester coding is a special case of [[binary phase-shift keying]] (BPSK), where the data controls the [[Phase (waves)|phase]] of a square wave [[Carrier signal|carrier]] whose frequency is the data rate. Manchester code ensures frequent line voltage transitions, directly proportional to the clock rate; this helps [[clock recovery]].&lt;br /&gt;
&lt;br /&gt;
The [[DC component]] of the encoded signal is not dependent on the data and therefore carries no information. Therefore connections may be [[Inductive coupling|inductively]] or [[Capacitive coupling|capacitively]] coupled, allowing the signal to be conveyed conveniently by galvanically isolated media (e.g., Ethernet) using a [[network isolator]]—a simple one-to-one [[pulse transformer]] which cannot convey a DC component.&lt;br /&gt;
&lt;br /&gt;
=== Limitations ===&lt;br /&gt;
Manchester coding&amp;#039;s data rate is only half that of a non-coded signal, which limits its usefulness to systems where bandwidth is not an issue, such as a [[local area network (LAN)]].&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;{{Cite web |last=Oed |first=Richard |date=2022-04-22 |title=Old, but Still Useful: The Manchester Code |url=https://www.digikey.com/en/blog/old-but-still-useful-the-manchester-code |url-status=live |archive-url=https://web.archive.org/web/20220822210500/https://www.digikey.com/en/blog/old-but-still-useful-the-manchester-code |archive-date=2022-08-22 |access-date=2023-02-02 |website=[[DigiKey]]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Manchester encoding introduces difficult frequency-related problems that make it unsuitable for use at higher data rates.&amp;lt;ref name=&amp;quot;:0&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{citation |url=http://docwiki.cisco.com/wiki/Ethernet_Technologies |title=Ethernet Technologies |publisher=[[Cisco Systems]] |access-date=2017-09-12 |quote=Manchester encoding introduces some difficult frequency-related problems that make it unsuitable for use at higher data rates. |archive-url=https://web.archive.org/web/20181228005303/http://docwiki.cisco.com/wiki/Ethernet_Technologies |archive-date=2018-12-28 |url-status=dead}}&amp;lt;/ref&amp;gt;&amp;lt;!--Difficulties are in meeting [[Title 47 CFR Part 15]] and other RF emissions requirements.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are more complex codes, such as [[8B/10B encoding]], that use less [[bandwidth (signal processing)|bandwidth]] to achieve the same data rate but may be less tolerant of frequency errors and [[jitter]] in the transmitter and receiver reference clocks.{{citation needed|date=November 2015}}&lt;br /&gt;
&lt;br /&gt;
==Encoding and decoding==&lt;br /&gt;
[[Image:Manchester encoding both conventions.svg|class=skin-invert-image|thumb|650px|An example of Manchester encoding showing both [[Manchester code#Conventions for representation of data|conventions for representation of data]], where : {{math|1=&amp;#039;&amp;#039;[[Leet|1337]]&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;10&amp;lt;/sub&amp;gt; = &amp;#039;&amp;#039;10100111001&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;}}]]&lt;br /&gt;
&lt;br /&gt;
Manchester code always has a transition at the middle of each bit period and may (depending on the information to be transmitted) have a transition at the start of the period also. The direction of the mid-bit transition indicates the data. Transitions at the period boundaries do not carry information.  They exist only to place the signal in the correct state to allow the mid-bit transition.&lt;br /&gt;
&lt;br /&gt;
===Conventions for representation of data===&lt;br /&gt;
There are two opposing conventions for the representations of data.&lt;br /&gt;
&lt;br /&gt;
The first of these was first published by G. E. Thomas in 1949 and is followed by numerous authors (e.g., [[Andy Tanenbaum]]).&amp;lt;ref name=&amp;quot;tanenbaum&amp;quot;&amp;gt;{{cite book |author-last=Tanenbaum |author-first=Andrew S. |author-link=Andrew S. Tanenbaum |title=Computer Networks |edition=4th |publisher=[[Prentice Hall]] |date=2002 |pages=[https://archive.org/details/computernetworks00tane_2/page/274 274–275] |isbn=0-13-066102-3 |url=https://archive.org/details/computernetworks00tane_2/page/274 }}&amp;lt;/ref&amp;gt; It specifies that for a 0 bit the signal levels will be low–high (assuming an amplitude physical encoding of the data) – with a low level in the first half of the bit period, and a high level in the second half. For a 1 bit the signal levels will be high–low. This is also known as Manchester II or Biphase-L code.&lt;br /&gt;
&lt;br /&gt;
The second convention is also followed by numerous authors (e.g., [[William Stallings]])&amp;lt;ref name=&amp;quot;stallings&amp;quot;&amp;gt;{{cite book |author-last=Stallings |author-first=William |author-link=William Stallings |title=Data and Computer Communications |edition=7th |publisher=[[Prentice Hall]] |date=2004 |pages=[https://archive.org/details/datacomputercomm00stal_1/page/137 137–138] |isbn=0-13-100681-9 |url=https://archive.org/details/datacomputercomm00stal_1/page/137 }}&amp;lt;/ref&amp;gt; as well as by [[IEEE 802.4]] (token bus) and lower speed versions of [[IEEE 802.3]] (Ethernet) standards. It states that a logic 0 is represented by a high–low signal sequence and a logic 1 is represented by a low–high signal sequence.&lt;br /&gt;
&lt;br /&gt;
If a Manchester encoded signal is inverted in communication, it is transformed from one convention to the other. This ambiguity can be overcome by using [[differential Manchester encoding]].&lt;br /&gt;
&lt;br /&gt;
===Decoding===&lt;br /&gt;
The existence of guaranteed transitions allows the signal to be self-clocking, and also allows the receiver to align correctly; the receiver can identify if it is misaligned by half a bit period, as there will no longer always be a transition during each bit period. The price of these benefits is a doubling of the bandwidth requirement compared to simpler [[non-return-to-zero|NRZ]] coding schemes.&lt;br /&gt;
&lt;br /&gt;
===Encoding===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|+Encoding data using [[exclusive or]] logic (802.3 convention)&amp;lt;ref&amp;gt;{{citation |url=https://www.maximintegrated.com/en/app-notes/index.mvp/id/3435 |title=Manchester Data Encoding for Radio Communications |access-date=2018-05-28}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Original data&lt;br /&gt;
!&lt;br /&gt;
! Clock&lt;br /&gt;
!&lt;br /&gt;
! Manchester value&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=2 | 0&lt;br /&gt;
| rowspan=4 | XOR &amp;lt;br /&amp;gt;⊕&lt;br /&gt;
| 0&lt;br /&gt;
| rowspan=4 | =&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=2 | 1&lt;br /&gt;
| 0 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Encoding conventions are as follows:&lt;br /&gt;
* Each bit is transmitted in a fixed time (the period).&lt;br /&gt;
* A &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; is expressed by a low-to-high transition, a &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; by high-to-low transition (according to G. E. Thomas&amp;#039;s convention – in the IEEE 802.3 convention, the reverse is true).&amp;lt;ref name=&amp;quot;Manchesterencoding&amp;quot;&amp;gt;{{Cite journal |author-last1=Forster |author-first1=R. |title=Manchester encoding: Opposing definitions resolved |doi=10.1049/esej:20000609 |journal=Engineering Science &amp;amp; Education Journal |volume=9 |issue=6 |pages=278–280 |date=2000|doi-broken-date=12 July 2025 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* The transitions which signify &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; occur at the midpoint of a period.&lt;br /&gt;
* Transitions at the start of a period are overhead and don&amp;#039;t signify data.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Coded mark inversion]]&lt;br /&gt;
* [[Differential Manchester encoding]]&lt;br /&gt;
* [[Binary offset carrier modulation]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
{{refbegin}}&lt;br /&gt;
{{FS1037C MS188}}&lt;br /&gt;
{{refend}}&lt;br /&gt;
&lt;br /&gt;
{{Bit-encoding}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Line codes]]&lt;br /&gt;
[[Category:Department of Computer Science, University of Manchester]]&lt;br /&gt;
[[Category:History of computing in the United Kingdom]]&lt;br /&gt;
[[Category:History of telecommunications in the United Kingdom]]&lt;/div&gt;</summary>
		<author><name>109.224.135.251</name></author>
	</entry>
</feed>