Barker code explained

In telecommunication technology, a Barker code, or Barker sequence, is a finite sequence of digital values with the ideal autocorrelation property. It is used as a synchronising pattern between the sender and receiver of a stream of bits.

Explanation

Binary digits have very little meaning unless the significance of the individual digits is known. The transmission of a pre-arranged synchronising pattern of digits can enable a signal to be regenerated by a receiver with a low probability of error. In simple terms it is equivalent to tying a label to one digit after which others may be related by counting. This is achieved by transmitting a special pattern of digits which is unambiguously recognised by the receiver. The longer the pattern the more accurately the data can be synchronised and errors due to distortion omitted. These patterns are called Barker sequences or Barker codes, after the inventor Ronald Hugh Barker. The process is described in "Group Synchronisation of Binary Digital Systems" published in 1953.[1] These sequences were initially developed for radar, telemetry, and digital speech encryption in the 1940s and 1950s.

Historical background

During and after WWII digital technology became a key subject for research e.g. for radar, missile and gun fire control and encryption. In the 1950s scientists were trying various methods around the world to reduce errors in transmissions using code and to synchronise the received data. The problem being transmission noise, time delay and accuracy of received data. In 1948 the mathematician Claude Shannon published an article '"A mathematical Theory of Communication"' which laid out the basic elements of communication. In it he discusses the problems of noise.

Shannon realised that “communication signals must be treated in isolation from the meaning of the messages that they transmit” and laid down the theoretical foundations for digital circuits. “The problem of communication was primarily viewed as a deterministic signal-reconstruction problem: how to transform a received signal, distorted by the physical medium, to reconstruct the original as accurately as possible” [2] or see original.[3] In 1948 electronics was advancing fast but the problem of receiving accurate data had not. This is demonstrated in an article on Frequency Shift Keying published by Wireless World.[4] In 1953 RH Barker published a paper demonstrating how this problem to synchronise the data in transmissions could be overcome. The process is described in “Group Synchronisation of Binary Digital Systems”. When used in data transmissions the receiver can read and if necessary correct the data to be error free by autocorrelation and cross correlation by achieving zero autocorrelation except at the incidence position using specific codes. The Barker sequence process at the time produced great interest, particularly in the United States as his method solved the problem, initiating a huge leap forward in telecommunications. The process has remained at the forefront of radar, data transmission and telemetry and is now a very well known industry standard, still being researched in many technology fields.“In a pioneering examination of group synchronization of binary digital systems, Barker reasoned it would be desirable to start with an autocorrelation function having very low sidelobes. The governing code pattern, he insisted, could be unambiguously recognized by the detector. To assure this premise, Barker contended the selected pattern should be sufficiently unlikely to occur by chance, in a random series of noise generated bits”[5]

Definition

A Barker code or Barker sequence is a finite sequence of N values of +1 and -1,

ajforj=1,2,...,N

with the ideal autocorrelation property, such that the off-peak (non-cyclic) autocorrelation coefficients

cv=

N-v
\sum
j=1

ajaj+v

are as small as possible:

|cv|\le1

for all

1\lev<N

.[1]

Only nine Barker sequences[6] are known, all of length N at most 13.[7] Barker's 1953 paper asked for sequences with the stronger condition

cv\in\{-1,0\}.

Only four such sequences are known, shown in bold in the table below.[8]

Known Barker codes

Here is a table of all known Barker codes, where negations and reversals of the codes have been omitted. A Barker code has a maximum autocorrelation sequence which has sidelobes no larger than 1. It is generally accepted that no other perfect binary phase codes exist.[9] (It has been proven that there are no further odd-length codes,[10] nor even-length codes of .[11])

Known Barker codes
LengthCodes Sidelobe level ratio[12] [13]
2 +1 −1 +1 +1 −6 dB
3 +1 +1 −1 −9.5 dB
4 +1 +1 −1 +1 +1 +1 +1 −1 −12 dB
5 +1 +1 +1 −1 +1 −14 dB
7 +1 +1 +1 −1 −1 +1 −1 −16.9 dB
11 +1 +1 +1 −1 −1 −1 +1 −1 −1 +1 −1 −20.8 dB
13 +1 +1 +1 +1 +1 −1 −1 +1 +1 −1 +1 −1 +1 −22.3 dB

Barker codes of length N equal to 11 and 13 are used in direct-sequence spread spectrum and pulse compression radar systems because of their low autocorrelation properties (the sidelobe level of amplitude of the Barker codes is 1/N that of the peak signal).[14] A Barker code resembles a discrete version of a continuous chirp, another low-autocorrelation signal used in other pulse compression radars.

The positive and negative amplitudes of the pulses forming the Barker codes imply the use of biphase modulation or binary phase-shift keying; that is, the change of phase in the carrier wave is 180 degrees.

Similar to the Barker codes are the complementary sequences, which cancel sidelobes exactly when summed; the even-length Barker code pairs are also complementary pairs. There is a simple constructive method to create arbitrarily long complementary sequences.

For the case of cyclic autocorrelation, other sequences have the same property of having perfect (and uniform) sidelobes, such as prime-length Legendre sequences, Zadoff–Chu sequences (used in 3rd- and 4th-generation cellular radio) and

2n-1

maximum length sequences (MLS). Arbitrarily long cyclic sequences can be constructed.

Barker modulation

In wireless communications, sequences are usually chosen for their spectral properties and for low cross correlation with other sequences likely to interfere. In the 802.11 standard, an 11-chip Barker sequence is used for the 1 and 2 Mbit/s rates. The value of the autocorrelation function for the Barker sequence is 0 or −1 at all offsets except zero, where it is +11. This makes for a more uniform spectrum, and better performance in the receivers.[15]

Examples of applications

Applications of Barker codes are found in radar,[16] mobile phone,[17] telemetry,[18] ultrasound imaging and testing,[19] [20] GPS,[21] and Wi-Fi.[22]

Many of these technologies use DSSS. This technique incorporates Barker code to improve the received signal quality and improve security.[23]

These codes also used in radio frequency identification RFID. Some examples where Barker code is used are: pet and livestock tracking, bar code scanners, inventory management, vehicle, parcel, asset and equipment tracking, inventory control, cargo and supply chain logistics.[24] It is also used extensively for Intelligent Transport Systems (ITS) i.e. for vehicle guidance[25]

Acceptance probability

Barker's algorithm is an alternative to Metropolis–Hastings, which doesn't satisfy the detailed balance condition. Barker's algorithm does converge to the target distribution. Given the current state, x, and the proposed state, x', the acceptance probability is defined as:

\alpha\left(x

\prime\right)=P\left(x\prime\right)
P\left(x\right)+P\left(x\prime\right)
x


The formula doesn't satisfy detailed balance, but makes sure that the balanced condition is met.

References

  1. Book: Barker, R. H. . Ronald Hugh Barker . Group Synchronizing of Binary Digital Systems . Communication Theory . London . Butterworth . 273–287 . 1953.
  2. Web site: David Tsa. How Claude Shannon invented the Future. 2020. mathematics. February 5, 2023.
  3. Web site: Claude Shannon. Mathematical Theory of Communication. 1922. The Bell System Technical Journal. 27. 380–381. February 5, 2023.
  4. Web site: Thomas Roddam. Frequency Shift Keying. Wireless World. November 1948. 400–402. February 5, 2023.
  5. Irv D Siegel . Development of a set of optimum synchronisation codes for a unique decoder mechanization . 1971. 13. Masters Theses . Missouri S & T Library and Learning Resources . February 5, 2023.
  6. A091704.
  7. Book: Number Theory and Polynomials . James McKee . Chris Smyth . Cambridge University Press . 978-0-521-71467-9 . LMS Lecture Notes . 352 . 2008 . Peter . Borwein . Peter Borwein . Michael J . Mossinghoff . Barker sequences and flat polynomials . 71–88 .
  8. Using different pulse shape in Barker code also improves certain Autocorrelation properties.
  9. Web site: Greg Coxson. Do the Barker codes End?. 2008. Worcester Polytechnic Institute. February 1, 2023.
  10. Turyn and Storer, "On binary sequences", Proceedings of the AMS, volume 12 (1961), pages 394–399
  11. Leung, K., and Schmidt, B., "The Field descent method", Design, Codes and Cryptography, volume 36, pages 171–188
  12. Web site: Pulse Compression – Radartutorial. Christian Wolff. February 1, 2023.
  13. Web site: Greg Coxson. Tahal Darwich. Amplitude Shifting for Sidelobes Cancellation Pulse Compression. University of Loisianna at Lafayette. February 1, 2023.
  14. Introduction to Radar Systems, 3rd edition, Merrill I. Skolnik, McGraw–Hill, 2001.
  15. Web site: RF Testing of WLAN Products . Keysight Technologies .
  16. Majid . Alolaibi . 2021 . Low noise moving target detection in high resolution radar using binary code . EURASIP Journal on Advances in Signal Processing . 2021 . 1 . 8 . 2021EJASP2021....8A . 10.1186/s13634-020-00716-0 . free.
  17. Web site: . 802.11b White Paper . December 30, 2022 . Vocal Technologies, Ltd.
  18. Web site: Irv D Siegel . Development of a set of optimum synchronization codes for a unique decoder mechanization, 1971 . 18 June 2021 . Missouri Science and Technology Library of Learning resources.
  19. Zhao . Heng . l. Mo . Larry . Gao . Shangkai . 2007 . Barker-coded ultrasound color flow imaging: Theoretical and practical design considerations . IEEE Transactions on Ultrasonics, Ferroelectrics and Frequency Control . 54 . 2 . 319–331 . 10.1109/tuffc.2007.246 . 17328329 . 19527352.
  20. Fan . Zeng . Rudlin . Ohn . Asfis . Giorgos . Meng . Hongying . 2019 . Convolution of Barker and Golay Codes for Low Voltage Ultrasonic Testing . Technologies . 7 . 4 . 72 . 10.3390/technologies7040072 . free.
  21. Book: Matsuyuki . Shota . 2018 International Conference on Information and Communication Technology Convergence (ICTC) . Tsuneda . Akio . 2018 . 978-1-5386-5041-7 . 664–666 . A Study on Aperiodic Auto-Correlation Properties of Concatenated Codes by Barker Sequences and NFSR Sequences . 10.1109/ICTC.2018.8539367 . 53713772.
  22. Book: Mikulka . Jan . 2007 17th International Conference Radioelektronikachapter = CCK and Barker Coding Implementation in IEEE 802.11b Standard . Hanus . Stanislav . 2007 . 1–4 . 10.1109/RADIOELEK.2007.371484 . 34865532.
  23. Book: Latif . Shahid . 2012 International Conference on Emerging Technologies . Kamran . Muhammad . Masoud . Fahad . Sohaib . Muhammad . 2012 . 978-1-4673-4451-7 . 1–5 . Improving DSSS transmission security using Barker code along binary compliments (CBC12-DSSS) . 10.1109/ICET.2012.6375426 . 2901603.
  24. Amin . Syedul . Reaz . Mamun Bin Ibne . Jalil . Jubayer . Raham . LF . 2012 . Digital Modulator and Demodulator IC for RFID Tag Employing DSSS and Barker Code . Journal of Applied Research and Technology . 10 . 6 . 819–825 . 10.22201/ICAT.16656423.2012.10.6.341 . 16796254 . free.
  25. Bekar . Muge . Baker . Chris . Hoare . Edward . Gashinova . Marina . 2021 . Joint MIMO Radar and Communication System Using a PSK-LFM Waveform With TDM and CDM Approaches . IEEE Sensors Journal . 21 . 5 . 6115–6124 . 2021ISenJ..21.6115B . 10.1109/JSEN.2020.3043085 . 231852192 . free.