Implementation of Barker Code PDF
Implementation of Barker Code PDF
Abstract: Recent advances in the development of semiconductors allow the realization of low cost hardware
architecture for implementing Barker and Nested binary codes suitable for radar applications. Due to the fast
development in Digital Signal Processors (DSP) they are used in radar signal processing. Radar signal
processing is defined as exploitation of the received signal represented in digital form to extract the desired
information while rejecting unwanted signals. DSP’s are used for implementing many of the radar applications.
FPGA based implementation of Barker and Nested binary codes are presented and are suitable for real time
applications. FPGA provides a reconfigurable solution for implementing DSP applications. Since FPGA’s can
be reconfigured in hardware, FPGA’s offers complete hardware customization for implementing various pulse
compression codes. The implementation of Barker and Nested binary codes utilizes the Linear Feedback Shift
Registers [LFSR], exhaustive search method. The performance of these codes is given in terms of
MeritFactor(MF). The performance measures are calculated offline on a host PC in Matlab for the codes
generated by VHDL program. The synthesized binary sequences have good MF values compared with previous
work in the literature.
Keywords: Linear Feedback Shift Register(LFSR), Barker codes, Nested binary codes, Linear feedback shift
registers, Merit Factor (MF), Auto Correlation function(ACF), Ambiguity Function (AF).
I. INTRODUCTION
Phase coding in analog or digital form are widely used in power limited radar systems for pulse
compression to achieve high range resolution. Recent advances in the development of semiconductors allow the
realization of low cost hardware architecture for implementing Barker and Nested binary codes suitable for
radar applications. Due to the cheap availability of Digital Signal Processors (DSP‟s), they are used in radar
signal processing. Radar signal processing is defined as exploitation of the received signal represented in digital
form to extract the desired information while rejecting unwanted signals. DSP processors are used for
implementing many of the radar applications. Although DSP processors are programmable through software the
architecture is not flexible. DSP processors are limited by fixed hardware architecture such as bus performance,
fixed memory and fixed data widths. The DSP processor‟s fixed hardware architecture is not suitable for radar
applications. Radar applications need customized functions, therefore most of the radar applications donot use
DSP processors.
Turin.George.L [1] has given the methods for design and synthesis of matched filter. H.Orazi and
et.al[2] proposed matched filter design using dispersive networks made with lumped constant .Y.Wang[3] used
the theory of mutual exchange between clock frequency and design size via recursive delay line and
implemented matched filter. Balaji.N[4] has proposed an VSLI architecture for generation of ternary codes with
good discrimination factors. The best known binary sequences are the Barker sequences [5]. The existence of
the Barker codes for length greater than 13 have not been found and Turyn [6] conjectured that no Barker
sequences exist for lengths beyond 13. This has been proved by Rao and Deshpande [7]. Later radar systems
designers started searching for binary biphase sequences. Levanon. N[8] has combined two binary barker
sequences to form a longer length code by using Kronecker product and referred them as combined or Nested
binary codes. With this correspondence, in this paper a novel and efficient VLSI architecture is proposed to
implement Barker and Nested binary codes. This VLSI architecture is implemented on the FPGA as it provides
the flexibility of reconfigurability and reprogramability.
The motivation behind this paper is to achieve the high mainlobe and low sidelobes, phase coded pulse
compression codes which are widely used. The simple phase code is obtained from Binary phase coding, in
which the phase of the radio frequency signal flips within the duration of the phase, according to the given
binary codes. Output of the matched filter for biphase radar signals creates unwanted sidelobes which masks the
useful information. Therefore the studies of polyphase codes are needed, and for this implementation techniques
are carried out. The polyphase codes offers low sidelobes and are Doppler tolerant.
www.iosrjournals.org 33 | Page
Generation and Implementation of Barker and Nested Binary codes
It is a form of phase coded waveform which employs two phases i.e. 1 and -1. In this type of pulse
compression method a long pulse of duration T is divided into N subpulses, each of width τ, where
(1)
The phase of each segment is set to 00 and 180o in accordance with the sequence of element in the phase code as
shown in Fig. 1.
Barker code is a special type of binary code, which belongs to a class of sophisticated signal. The
binary phase coded sequence of 00 , 1800 values that result in equal sidelobes after passing through the matched
filter is called Barker code. A Barker is a sequence of N values of +1 and -1 , for i=1 to N such that
(2)
12
10
0
-15 -10 -5 0 5 10 15
www.iosrjournals.org 34 | Page
Generation and Implementation of Barker and Nested Binary codes
Barker codes are the only biphase codes with smallest achievable sidelobes. However , the longest
Barker code of odd length is proven to be of 13 [6] and considered to be major disadvantage. There is also a
strong conjecture that Barker codes of length 2 and 4 are the only ones of even length. The code of length 13
achieves a mainlobe to peak side lobe ratio of only 22.8 dB which is less than the practical requirement of at
least 30dB[9]. In literature mismatched filters are proposed to improve this ratio. In this paper Nested binary
codes are considered and these has an improvement in PSLR compared to the Barker codes[10].
Nested binary codes can be obtained by using the Kronecker product of two Barker codes whose initial
matched filter response is good. If an N-bit Barker code is denoted by BN,and another BM , then an MN bit code
can be constructed as BN⊗BM. The Kronecker product is simply the BM code repeated N times, with each
repetition multiplied by the corresponding element of the B N code. For example, a 20 bit code can be
constructed as the product B4⊗B5. These codes have a peak sidelobe greater than 1.
15
10
-5
-20 -15 -10 -5 0 5 10 15 20
www.iosrjournals.org 35 | Page
Generation and Implementation of Barker and Nested Binary codes
The implementation of Barker and Nested binary sequence generator is based on LFSR which consists
of „n‟ D flip-flops. The generator produces predefined sequences of 1‟s and 0‟s.
LFSR is a n-bit shift register with feedback to its input. The feedback is provided with XORing or
XNORing the outputs of selected stages of the shift register which are referred as „taps‟ by John G. Proakis[11]
and then inputting this into the least significant bit (i.e. stage 0). Each stage has a common clock. The taps can
be placed at any stage with XOR or XNOR feedback. The Least Significant (LS) bit of the shift register is
shown at the left hand side of the shift register with the output being taken from the Most Significant (MS) bit
from the right hand side and is shown in the Fig. 5.
The Fig 4. produces random sequence of Length 2n-1 states (n is no.of flip-flops). By the exhaustive search
method the Barker code is selected. Peterson, William Wesley and Weldm E.J [17] proved that the LFSR
sequences depend on the seed value (which is neither all zeros nor all ones), the tap positions and the feedback
type.
Shift Register: A shift register is a device used for shifting its contents into adjacent positions within the
register or to a position at the end of the register. The position from where the bit is shifted is left empty unless
some new content is shifted into the position. The contents of a shift register are usually binary bits. If a shift
register contains the bit pattern 1101 a shift to right would result in 0110; another shift yields 0011 [11-12].
www.iosrjournals.org 36 | Page
Generation and Implementation of Barker and Nested Binary codes
V. DESIGN STRATEGIES
The concept of design strategies is to keep the design as portable as possible. It avoids using language
features that are specific to a particular manufactures or target technology. This will make the program possible
to use for different devices with a minimum of redesign [12].
RTL description describes sequence of transfers between the registers but doesnot describe the
hardware for these operations.
The steps in RTL design are
(1) The number and size of the registers needed to hold the data are to be determined.
(2) Logic and Arithmetic operations which are to be performed on these registers must be specified.
(3) Design of State machines is to be updated in order to achieve the desired results.
RTL design of Barker sequence and Nested binary sequences are composed of
(1) Registers and Combinational functional blocks called as the data path.
(2) Finite state machine called the controller that controls the transfer of data through the functional
blocks and the registers.
www.iosrjournals.org 37 | Page
Generation and Implementation of Barker and Nested Binary codes
www.iosrjournals.org 38 | Page
Generation and Implementation of Barker and Nested Binary codes
VII. Results
Exhaustive searches for obtaining good binary sequences by varying the tap positions are carried out at
lengths of 7 to 65 and MF at different lengths are calculated. The values are tabulated in Table 2.
S.No Length of the Sequence Merit Factor(MF)
1 7 8.01
2 11 12.10
3 13 14.08
4 14 10.06
5 16 10.48
6 18 10.49
7 20 10.51
8 27 10.9
9 30 10.97
10 35 10.24
11 40 10.14
12 45 11.07
13 49 10.82
14 55 10.72
15 57 10.97
16 65 11.81
Table: 3 Merit Factor of binary sequences at different lengths
Fig 10 clearly shows the variation of MF with respect to the length of the sequence generated using
LFSRs. The synthesized binary sequences have good MF compared to I A Pasha, 2000[18]. The synthesized
binary sequences are promising for practical application to radars and communications. It is also proposed that
the proposed architecture is giving good MF values for not only Barker sequences but also to Nested binary
sequences.
www.iosrjournals.org 39 | Page
Generation and Implementation of Barker and Nested Binary codes
The VLSI architecture for implementing Barker and Nested binary codes has been authored in VHDL
and the Xilinx XST, ISE Foundation 12.1i has been used for performing mapping, placing and routing. For
Behavioral simulation and Place and route simulation Modelsim 6.3 has been used. The Synthesis tool was
configured to optimize for area and high effort considerations. The target device was Spartan-2 (SESP2BRD).
The Barker and Nested binary pulse compression sequences implementation reports are presented in Fig. 5-
7. From the device utilization summary same architecture is useful for implementation of higher lengths of
binary sequences.
VIII. Conclusions
In this paper the implementation of FPGA based generation of Barker and Nested binar codes has been
described using LFSR‟s and allows rapid modifications especially for testing of different sequences. This design
presents fully digitized approach for generation of Barker and Nested binary codes. The hardware design is
divided into two modules: one block for simply generating the codes using LFSR‟s, D flip flops and one block
for implementing the codes in a sequential manner.
The performance of these codes is given in terms of MF values. The performance measures are
calculated offline on a host PC in Matlab for the codes generated by VHDL program.
The synthesized binary sequences have good MF values compared with previous work in the literature.
The synthesized binary sequences are promising for practical application to radars and communications. It is
also proposed that the proposed architecture is giving good MF values for not only Barker sequences but also to
binary sequences.
Acknowledgements
This work is being supported by Ministry of Science & Technology, Department of Science &
Technology (DST), New Delhi, India, under Women Scientist Scheme (WOS-A) with the Grant No: 100/
(IFD)/8450/2010-11, Dated 15/11/2010.
REFERENCES
[1] Turin, G. "An introduction to matched filters." Information Theory, IRE Transactions on 6.3 (1960): 311-329.
[2] Oraizi, Homayoon, and A-R. Sharifi. "Design and optimization of broadband asymmetrical multisection Wilkinson power
divider." Microwave Theory and Techniques, IEEE Transactions on 54.5 (2006): 2220-2231.
[3] Wang, Yuxi, and Yebing Shen. "Optimized fpga realization of digital matched filter in spread spectrum communication
systems." Computer and Information Technology Workshops, 2008. CIT Workshops 2008. IEEE 8th International Conference on .
IEEE, 2008.
[4] Balaji, N., K. Subba Rao, and M. Srinivasa Rao. "FPGA implementation of the ternary pulse compression sequences with good
discrimination factor values."Computer Engineering and Technology, 2009. ICCET'09. International Conference on. Vol. 2. IEEE,
2009.
[5] R. H. Barker, “Group synchronizing of binary digital systems, in Communication theory”, Butterworth, London, 1953, pp. 273-287.
[6] Turyn, R., “On Barker codes of even length”, Proceedings of the IEEE, vol. 51, no. 9,September 1963, p. 1256.
[7] Rao, B. V., and A. A. Deshpande. "Why the Barker sequence bit length does not exceed thirteen?." (1988).
[8] Levanon. N, Mozeson, “Radar Signal”, Wiley, New York, 2004.
[9] Mark.A.richards, “Fundamentals of radar signal processing, McGraw-hil”l, 2005
[10] NagaJyothi, A., and K. Raja Rajeswari. "Cross-correlation of Barker code and Long binary signals." International Journal of
Engineering Science 3.12 (2011): 8348-8356.
www.iosrjournals.org 40 | Page
Generation and Implementation of Barker and Nested Binary codes
[11] John G. Proakis, “Digital Communication,” McGraw Hill, Singapore. Pp 502-507,471-475 ,2001.
[12] Peterson, William Wesley, and EJ Jr Weldon. Error-correcting codes. The MIT Press, 1972.
[13] Brown, Stephen D., and Zvonko G. Vranesic. Fundamentals of digital logic with VHDL design. Vol. 70125910. New York:
McGraw-Hill, 2000.
[14] Sklar, Bernard. Digital communications. Vol. 2. NJ: Prentice Hall, 2001.
[15] P. Z. Peebles., “Radar Principles”, Wiley-Interscience. 1998.
[16] A.NagaJyothi, Prof K. Raja Rajeswari., "Delay-Doppler Performance of Hyperbolic Frequency Modulation Waveforms", Work at
Dept of ECE, Andhra University.
[17] Peterson, William Wesley, and EJ Jr Weldon. Error-correcting codes. The MIT Press, 1972.
[18] Pasha, I. A., P. S. Moharir, and N. Sudarshan Rao. "Bi-alphabetic pulse compression radar signal design." Sadhana 25.5 (2000):
481-488.
Authors
A.NagaJyothi was born in 1982 at Visakhapatnam. She received her B.Tech (ECE) from Nagarjuna
University and M.Tech(Radar & Microwave Engineering) from Andhra University College of
Engineering(A). She has a teaching experience of 3 years. Presently she is perusing her Ph.D in the area of
Signal Processing in Andhra University, Visakhapatnam.
K. Raja Rajeswari obtained her B.E., M.E. and Ph.D. degrees from Andhra University, Visakhapatnam,
India in 1976, 1978 and 1992 respectively. Presently she is professor in the Department of Electronics and
Communication Engineering, Andhra University and Dean for Academics & Research, Andhra University
College of Engineering. She has published over 200 papers in various National, International Journals and
conferences. She is author of the textbook Signals and Systems published by PHI. She is co-author of the
textbook Electronics Devices and Circuits published by Pearson Education. Her research interests include
Radar and Sonar Signal Processing, Wireless Communication Technologies. She has guided fifteen Ph.D.s
and presently she is guiding twenty students for Doctoral degree. She served as Chairperson IETE
Visakhapatnam Centre for two consecutive terms (2006 t0 2010) . Present she is Governing Council
Member of IETE, New Delhi. She is zonal coordinate(for south) and Technical Program Committee
Chairperson. She is recipient of prestigious IETE Prof SVC Aiya Memorial National Award for the year
2009, Best Researcher Awardee by Andhra University for the year 2004 and recipient Dr. Sarvepalli
Radhakrishnan Best Academician Award of the year 2009 by Andhra University. She is Senior Member in
IEEE. She is expert member for various national level academic and research committees and reviewer for
various national/international journals.
www.iosrjournals.org 41 | Page