Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Differential Manchester encoding
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Self-synchronizing line code}} '''Differential Manchester encoding''' ('''DM''') is a [[line code]] in digital frequency modulation in which [[data]] and [[clock signal]]s are combined to form a single two-level self-[[synchronizing]] [[data stream]]. Each data bit is encoded by a presence or absence of signal level transition in the middle of the bit period, followed by the mandatory level transition at the beginning. The code is insensitive to an inversion of polarity. In various specific applications, this method is also called by various other names, including '''biphase mark code''' ('''CC'''), '''F2F''' (frequency/double frequency), '''Aiken biphase''', and '''conditioned diphase'''.<ref>US DoD: ''Design handbook for fiber optic communications systems, Military handbook.'' Dept. of Defense, 1985, p. 65.</ref> ==Definition== Differential Manchester encoding is a [[differential encoding]] technology, using the presence or absence of transitions to indicate [[logical value]]. An improvement to [[Manchester coding]] which is a special case of [[binary phase-shift keying]], it is not necessary to know the initial polarity of the transmitted message signal, because the information is not represented by the absolute voltage levels but by their transitions. [[File:Differential_manchester_encoding_Workaround.svg|thumb|An example of Differential Manchester encoding: Gray vertical lines, full and dotted, represent the two clock ticks per bit period. In the shown variant of the encoding, 0 is represented by a transition and 1 is represented by no transition. The two line signals shown differ in their polarity; which one would occur on the line depends on the preceding line state. Example given : {{math|1=''[[Leet|1337]]''<sub>10</sub> = ''10100111001''<sub>2</sub>}}]] There are two clock ticks per bit period (marked with full and dotted lines in the figure). At every second clock tick, marked with a dotted line, there is a potential level transition conditional on the data. At the other ticks, marked with full lines, the line state changes unconditionally to ease clock recovery.<ref>{{cite book |last1=Horowitz |first1=Paul |title=The Art of Electronics |date=2015 |location=New York, NY, USA |isbn=978-0-521-80926-9 |page=1041 |edition=Third |chapter=14.7.10 Biphase coding}}</ref> One version of the code makes a transition for 0 and no transition for 1; the other makes a transition for 1 and no transition for 0. Differential Manchester encoding has the following advantages: * A transition is guaranteed at least once every bit, for robust [[clock recovery]]. * In a noisy environment, detecting transitions is less error-prone than comparing signal levels against a threshold. * Unlike with Manchester encoding, only the presence of a transition is important, not the polarity. [[Differential coding]] schemes will work exactly the same if the signal is inverted (e.g. wires swapped). Other line codes with this property include [[NRZI]], [[bipolar encoding]], [[coded mark inversion]], and [[MLT-3 encoding]]. * If the high and low signal levels have the same magnitude with opposite polarity, the average voltage around each unconditional transition is zero. Zero [[DC bias]] reduces the necessary transmitting power, minimizes the amount of electromagnetic noise produced by the transmission line, and eases the use of isolating transformers. These positive features are achieved at the expense of doubling the clock frequency of the encoded data stream. Differential Manchester encoding is specified in the [[IEEE 802.5]] standard for Token Ring local area networks, and is used for many other applications, including magnetic and optical storage. As Biphase Mark Code (BMC), it is used in [[AES3]], [[S/PDIF]], [[SMPTE time code]], [[USB#PD|USB PD]], [[xDSL]] and [[Digital Addressable Lighting Interface|DALI]]. Many [[magnetic stripe]] cards also use BMC encoding, often called F2F (frequency/double frequency) or Aiken Biphase, according to the [[ISO/IEC 7811]] standard. Differential Manchester encoding is also the original modulation method used for single-density [[floppy disk]]s, followed by double-density [[modified frequency modulation]] (MFM). == See also == * [[Manchester code]] * [[McASP]] * [[Run-length limited#FM: .280.2C1.29 RLL|Run-length limited: FM]] ==References== {{Reflist}} {{FS1037C}} ==Further reading== * Watkinson, John (1994) ''The Art of Digital Audio'', 2nd edition. Oxford: [[Focal Press]]. {{ISBN|0-240-51320-7}} * {{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=live |archive-url=https://web.archive.org/web/20180702234956/http://www.quadibloc.com/comp/tapeint.htm |archive-date=2018-07-02}} * [http://www.hightechaid.com/tech/card/intro_ms.htm Introduction to magnetic stripe technology] {{Webarchive|url=https://web.archive.org/web/20150220232154/http://www.hightechaid.com/tech/card/intro_ms.htm |date=2015-02-20 }} {{Bit-encoding}} [[Category:Line codes]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Bit-encoding
(
edit
)
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:FS1037C
(
edit
)
Template:ISBN
(
edit
)
Template:Math
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Webarchive
(
edit
)