Algorithm Search⌘K

Definitionadvanced

Costas array

Also called Costas frequency hopping code, Costas sequence.

A permutation of n frequencies over n time slots in which all displacement vectors between pairs of dots differ, which gives a frequency hopping pulse with a thumbtack ambiguity function.

A Costas array of order nn is a permutation ff of nn frequencies over nn time slots such that the vectors between all pairs of dots, (j−i, f(j)−f(i))(j - i,\ f(j) - f(i)), are distinct. A pulse that hops through the frequencies in this order has an ambiguity function close to a thumbtack: at every shift of whole slots and whole frequency steps, other than zero, at most one dot of the pattern meets a dot of the shifted pattern. A Barker code and a Frank code code the phase of each chip and have sidelobes only in delay, while a Costas array codes the frequency and controls the sidelobes in delay and Doppler together. A linear order of the frequencies gives a staircase approximation of a chirp instead, with a ridge and range-Doppler coupling.

Definition

Costas array. A permutation ff of {1,…,n}\{1, \dots, n\} is a Costas permutation if for all i<ji < j and i′<j′i' < j' with (i,j)≠(i′,j′)(i, j) \ne (i', j'),

(j−i, f(j)−f(i))≠(j′−i′, f(j′)−f(i′)).(j - i,\ f(j) - f(i)) \ne (j' - i',\ f(j') - f(i')).

The Costas array is the n×nn \times n array with a dot in column ii and row f(i)f(i). Equivalently, for each distance d=1,…,n−1d = 1, \dots, n-1, the n−dn - d differences f(i+d)−f(i)f(i + d) - f(i) are distinct. These differences form the rows of the difference triangle of ff.

The waveform. A pulse of nn subpulses, each of length tbt_b, uses in slot ii the frequency f0+f(i) Δff_0 + f(i)\,\Delta f with Δf=1/tb\Delta f = 1/t_b. Its bandwidth is about n Δfn\,\Delta f, so it resolves about tb/nt_b/n in delay, and its length ntbn t_b resolves about 1/(ntb)1/(n t_b) in Doppler.

Coincidences. Shift the pattern by kk slots and ll frequency steps. The number of dots that land on dots is the number of pairs i,ji, j with j−i=kj - i = k and f(j)−f(i)=lf(j) - f(i) = l. For a Costas array this is at most 1 for every (k,l)≠(0,0)(k, l) \ne (0, 0), against nn at the origin. The ambiguity function at these grid points is roughly proportional to the number of coincidences, so its sidelobes there are about 1/n1/n of the peak (a rule of thumb, since the sinc shape of each subpulse adds smaller terms between grid points).

Welch construction (theorem). Let pp be a prime and gg a primitive root modulo pp. Then f(i)=gi mod pf(i) = g^{i} \bmod p for i=1,…,p−1i = 1, \dots, p - 1 is a Costas permutation of order p−1p - 1.

Proof. The values g1,…,gp−1g^1, \dots, g^{p-1} are 1,…,p−11, \dots, p - 1 in some order, so ff is a permutation. Suppose f(i+d)−f(i)=f(j+d)−f(j)f(i + d) - f(i) = f(j + d) - f(j) with d≥1d \ge 1. Then (gd−1)(gi−gj)≡0(modp)(g^d - 1)(g^i - g^j) \equiv 0 \pmod p. Since 1≤d≤p−21 \le d \le p - 2 and gg has order p−1p - 1, gd≢1g^d \not\equiv 1, so gi≡gjg^i \equiv g^j and i=ji = j. □\square

Lempel and Golomb construction (theorem). Let qq be a prime power and α,β\alpha, \beta primitive elements of the field with qq elements. For 1≤i,j≤q−21 \le i, j \le q - 2, put f(i)=jf(i) = j when αi+βj=1\alpha^i + \beta^j = 1. This is a Costas permutation of order q−2q - 2. With α=β\alpha = \beta it is the Lempel construction.

Existence. The two constructions and variants of them give Costas arrays for many orders, but not for all. No order is known for which Costas arrays are proved not to exist. The smallest orders with no known Costas array are 32 and 33, and exhaustive search has found all Costas arrays up to order 29.

Examples and non-examples

Welch, p=7p = 7, g=3g = 3. The powers 31,…,363^1, \dots, 3^6 modulo 7 give f=(3,2,6,4,5,1)f = (3, 2, 6, 4, 5, 1), a Costas array of order 6. Its 15 displacement vectors are distinct, and every shifted copy meets the original in at most one dot.

Lempel and Golomb, q=7q = 7. With α=β=3\alpha = \beta = 3, solving 3i+3j≡1(mod7)3^i + 3^j \equiv 1 \pmod 7 gives f=(5,3,2,4,1)f = (5, 3, 2, 4, 1) for i=1,…,5i = 1, \dots, 5. With α=3\alpha = 3 and β=5\beta = 5 it gives (1,3,4,2,5)(1, 3, 4, 2, 5). Both are Costas arrays of order 5.

Counts (computed by backtracking). The numbers of Costas permutations of orders 1 to 9 are 1,2,4,12,40,116,200,444,7601, 2, 4, 12, 40, 116, 200, 444, 760.

Non-example: the linear order. f(i)=if(i) = i is a stepped approximation of a chirp. All n−dn - d pairs at distance dd have the same vector (d,d)(d, d), so a shift by one slot and one frequency step meets n−1n - 1 dots. For n=6n = 6 that is 5 coincidences, a strong ridge, against at most 1 for the Welch array.

Non-example: a permutation that fails. For f=(1,3,2,4)f = (1, 3, 2, 4), the pairs (1,3)(1, 3) and (2,4)(2, 4) both have the vector (2,1)(2, 1), so ff is not a Costas permutation.

Non-example: a Golomb ruler. A Golomb ruler is a set of marks on a line with distinct differences. A Costas array asks for distinct differences in two dimensions at once, one condition for each distance dd, on a permutation.

  • Frequency hopping. A Costas array is a hopping pattern for a single pulse. In frequency hopping spread spectrum, hopping patterns are chosen for low collisions between users, a related but different condition.
  • N-queens. A solution of the n-queens problem is also a permutation with a condition on pairs, but only on the diagonals. Costas permutations are found by the same kind of backtracking search.
  • Ambiguity function. The ambiguity function of a Costas pulse has a narrow central peak and low sidelobes spread over the plane, which is close to the thumbtack that the volume property allows.
  • Phase codes. A Barker code has sidelobes of at most 1 in delay alone. A Costas array has at most one coincidence in delay and Doppler together, the two-dimensional analog.
  • Stepped frequency. A stepped frequency waveform also uses a set of frequencies, but in linear order and over separate pulses, which gives coupling instead of a thumbtack.

References

  1. J. P. Costas, A study of a class of detection waveforms having nearly ideal range-Doppler ambiguity properties, Proceedings of the IEEE 72(8), 1984, pp. 996 to 1009 (frequency hopping pulses whose ambiguity function has at most one coincidence away from the origin)
  2. S. W. Golomb and H. Taylor, Constructions and properties of Costas arrays, Proceedings of the IEEE 72(9), 1984, pp. 1143 to 1163 (the Welch and the Lempel and Golomb constructions, and the counts for small orders)
  3. Konstantinos Drakakis, Open problems in Costas arrays, 2011, the list of open problems (orders 32 and 33 as the smallest orders with no known Costas array, and the state of exhaustive enumeration)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/8DKHA8/text.yaml