Content deleted Content added
Citation bot (talk | contribs) Alter: pages. Formatted dashes. | Use this bot. Report bugs. | Suggested by Kvng | Linked from User:Kvng/RTH | #UCB_webform_linked 138/252 |
→References: UK |
||
(16 intermediate revisions by 11 users not shown) | |||
Line 1:
{{short description|
{{Use dmy dates|date=April 2022}}
In [[
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.
Manchester code was widely used for [[magnetic recording]] on 1600 bpi computer tapes before the introduction of 6250 bpi tapes which used the more efficient [[group-coded recording]].<ref>{{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 }}</ref> 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]].<ref>{{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}}</ref>
== Features ==
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]].
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 [[
=== Limitations ===
According to [[Cisco]], "Manchester encoding introduces some difficult frequency-related problems that make it unsuitable for use at higher data rates".<ref>{{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}}</ref><!--Difficulties are in meeting [[Title 47 CFR Part 15]] and other RF emissions requirements.-->▼
Manchester coding'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)]].<ref name=":0">{{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]]}}</ref>
▲
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.{{cn|date=November 2015}}▼
▲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.{{
==Encoding and decoding== ▼
[[Image:Manchester encoding both conventions.svg|thumb|650px|An example of Manchester encoding showing both [[Manchester code#Conventions for representation of data|conventions for representation of data]]]]▼
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. ▼
▲[[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=''[[Leet|1337]]''<sub>10</sub> = ''10100111001''<sub>2</sub>}}]]
▲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.
===Conventions for representation of data===
There are two opposing conventions for the representations of data.
The first of these was first published by G. E. Thomas in 1949 and is followed by numerous authors (e.g., [[
The second convention is also followed by numerous authors (e.g., [[William Stallings]])<ref name="stallings">{{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 }}</ref> 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
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]].
Line 44 ⟶ 48:
|-
| rowspan=2 | 0
| rowspan=4 | XOR <br />⊕
| 0
| rowspan=4 | =
Line 58 ⟶ 62:
Encoding conventions are as follows:
* Each bit is transmitted in a fixed time (the
* A <code>0</code> is expressed by a low-to-high transition, a <code>1</code> by high-to-low transition (according to G. E. Thomas's
* The transitions which signify <code>0</code> or <code>1</code> occur at the midpoint of a period.
* Transitions at the start of a period are overhead and don't signify data.
Line 78 ⟶ 82:
[[Category:Line codes]]
[[Category:Department of Computer Science, University of Manchester]]
[[Category:History of computing in the United Kingdom]]
[[Category:History of telecommunications in the United Kingdom]]
|