Radar / Signal Processing

Barker Code

/bar-ker kohd/
A Barker Code is a finite binary phase sequence whose aperiodic autocorrelation function has sidelobe levels of at most 1/N (where N is the code length), providing optimal sidelobe suppression for radar pulse compression. Only seven Barker codes are known to exist, with lengths 2, 3, 4, 5, 7, 11, and 13, making the Barker-13 the longest available code with a compression ratio of 13:1 and peak sidelobe level of -22.3 dB.
Category: Radar Waveforms
Max Length: 13 chips
PSL: -22.3 dB (N=13)

Understanding Barker Codes

Radar faces a fundamental tradeoff: long pulses provide more energy for detecting distant targets, but short pulses give better range resolution. Pulse compression solves this by phase-coding a long pulse so that the matched filter in the receiver compresses it into a short spike. The quality of the compression depends on the code's autocorrelation properties. Barker codes are mathematically optimal: their sidelobes are exactly 1 (out of N at the peak), the best possible for any binary sequence.

Barker Code Properties

Barker Code:
A Barker Code is a finite binary phase sequence whose aperiodic autocorrelation function has sidelobe levels of at most 1/N (where N is the code...

Key specifications:
1 a | -22.3 dB | 11.1 dB | 3.0 dB

Capacity: C = B×log2(1+SNR)

Known Barker Codes

Length NCode SequencePSL (dB)Processing Gain
2+1, -1-6.03.0 dB
3+1, +1, -1-9.54.8 dB
4+1, +1, -1, +1-12.06.0 dB
5+1, +1, +1, -1, +1-14.07.0 dB
7+1,+1,+1,-1,-1,+1,-1-16.98.5 dB
11+1,+1,+1,-1,-1,-1,+1,-1,-1,+1,-1-20.810.4 dB
13+1,+1,+1,+1,+1,-1,-1,+1,+1,-1,+1,-1,+1-22.311.1 dB

Key Equations

Signal-to-Noise Ratio:
SNR = Psignal/Pnoise = 10log(S/N) dB

Spectral efficiency:
η = log2(1 + SNR) bits/s/Hz (Shannon)

Error Vector Magnitude:
EVM = √(Perror/Pref) × 100%

Comparison

AspectBarker Code SpecTypical RangeImpactDesign Note
Primary functionUnderstanding Barker Codes Radar faces a...Application-dep.CriticalVerify in sim
Operating rangePulse compression solves this by phase-c...Application-dep.CriticalVerify in sim
PerformanceThe quality of the compression depends o...Application-dep.CriticalVerify in sim
IntegrationBarker codes are mathematically optimal:...Application-dep.CriticalVerify in sim
Trade-offBarker Code Properties Barker Code: A Ba...Application-dep.CriticalVerify in sim
Common Questions

Frequently Asked Questions

Why are Barker codes important for radar?

They enable pulse compression: transmit a long coded pulse for high energy, compress it in the receiver for fine range resolution. Barker codes have optimal sidelobes at exactly 1/N. A Barker-13 gives 11.1 dB processing gain with -22.3 dB sidelobes, improving range resolution by 13x while preserving full pulse energy.

Why do only 7 Barker codes exist?

No binary Barker codes exist beyond length 13 (verified by exhaustive computer search to 10^22). For longer compression ratios, engineers use polyphase codes (Frank, P1-P4), complementary pairs, or LFM chirp waveforms that provide compression ratios from 100:1 to over 1,000,000:1.

How does Barker compare to LFM chirp?

Barker codes max out at 13:1 compression. LFM chirp achieves 100:1 to 1,000,000:1 by increasing bandwidth. However, Barker codes need only bi-phase modulation, have zero Doppler sensitivity for slow targets, and give -22.3 dB sidelobes without weighting. LFM needs amplitude weighting (Hamming, Taylor) for sidelobe control, at 1-2 dB SNR cost.

Radar System Components

Request a Quote

Need RF pulse modulators, phase shifters, or radar test equipment? Contact our engineering team.

Get in Touch