Jump to content

Biphase mark code: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Added link to Manchester Code which is similar and comment.
Added note about FM, modified introductory paragraph.
Line 1: Line 1:
The '''Biphase Mark Code''' is a type of encoding for [[binary]] data streams.
The '''Biphase Mark Code''' is a type of encoding for [[binary]] data streams.
If a binary data stream is sent without any modification via any channel,
When a binary data stream is sent without modification via a channel,
if there are long series of logical ones or zeros without any change, this
there can be long series of logical ones or zeros without any transitions which makes clock recovery and synchronization difficult.
can cause problems in synchronization. Streams encoded in [[Non-return-to-zero|NRZ]] are affected
Streams encoded in [[Non-return-to-zero|NRZ]] are affected
by the same problem.
by the same problem.
Using Biphase Mark Code makes synchronization easier.
Using Biphase Mark Code makes synchronization easier by ensuring that there is at least one transition on the channel between every data bit.


When encoding, the symbol rate must be twice the
When encoding, the [[symbol rate]] must be twice the
[[bitrate]] of the original signal. Every bit of the original [[data]] is represented as
[[bitrate]] of the original signal. Every bit of the original [[data]] is represented as
two logical states which, together, form a bit. Every logical 1 is represented
two logical states which, together, form a bit. Every logical 1 is represented
Line 13: Line 13:
to the level at the end of the previous cell.
to the level at the end of the previous cell.
In BMC coding the logical 1 and 0 are represented with the same voltage, using a
In BMC coding the logical 1 and 0 are represented with the same voltage, using a
different polarity. It is shown in the following image:
different polarity as shown in the following image:


[[Image:Bmc.png|600px|center|none]]
[[Image:Bmc.png|600px|center|none]]
Line 26: Line 26:
power.
power.
All these positive aspects are achieved at the expense of doubling clock frequency.
All these positive aspects are achieved at the expense of doubling clock frequency.

It should be noted that BMC is essentially a form of [[frequency modulation]], where the channel frequency of a data 1 bit is double the channel frequency of a logical 0 bit.


BMC is used as the encoding method in [[AES3]] and [[S/PDIF]].
BMC is used as the encoding method in [[AES3]] and [[S/PDIF]].

Revision as of 15:53, 27 April 2007

The Biphase Mark Code is a type of encoding for binary data streams. When a binary data stream is sent without modification via a channel, there can be long series of logical ones or zeros without any transitions which makes clock recovery and synchronization difficult. Streams encoded in NRZ are affected by the same problem. Using Biphase Mark Code makes synchronization easier by ensuring that there is at least one transition on the channel between every data bit.

When encoding, the symbol rate must be twice the bitrate of the original signal. Every bit of the original data is represented as two logical states which, together, form a bit. Every logical 1 is represented as a couple of two different bits (10 or 01). The logical 0 is represented as two equal bits (00 or 11). Every logical level at the start of a cell is inverted to the level at the end of the previous cell. In BMC coding the logical 1 and 0 are represented with the same voltage, using a different polarity as shown in the following image:

BMC coding provides a better synchronization since there is a change in the polarity at least every two bits. It is not necessary to know the polarity of the sent signal since the information is not kept in the actual values of the voltage but in their change: in other words it does not matter whether a logical 1 or 0 is received, but only whether the polarity is the same or is different from the previous value; this makes synchronization even easier. Finally, BMC coded signals have null mean value, thus reducing the necessary transmitting power. All these positive aspects are achieved at the expense of doubling clock frequency.

It should be noted that BMC is essentially a form of frequency modulation, where the channel frequency of a data 1 bit is double the channel frequency of a logical 0 bit.

BMC is used as the encoding method in AES3 and S/PDIF.

See also

Bibliography

  • Watkinson, J. (1994) The Art of Digital Audio, 2nd edition. Oxford: Focal Press. ISBN 0-240-51320-7