Usrp 4
Usrp 4
Abstract—The use of GNU Radio in order to explore FMCW purposes. Both studies have a similar implementation: USRP
radar is growing rapidly, where it is used for radar signal pro- N210 and GNU Radio are used in their conceptual designs
cessing. In this paper we implement FMCW surveillance radar using FMCW waveform.
for drone detection on SDR using GNU Radio and the USRP
B210. The requirement was to design and implement an FMCW Research and development on Reconfigurable Hardware
surveillance radar to detect a drone with a radar cross-section of Interface for Computation and Radio (RHINO) is being done
0.1 m2 and a maximum range of 150 m for the purpose of point at the University of Cape Town [6]. RHINO is an open source
detection. The signal processing takes the beat frequency which development consisting of hardware and software which is
has pulse compression gain and performs coherent integration. It also designed for radar application. Such hardware opens the
windows and displays the results on a range Doppler map using
two-dimensional fast Fourier transform. The pulse repetition opportunity for the practical realization of radar.
frequency of the waveform is selected as 2200 Hz with a chirp The application area of drone detection is of interest as
bandwidth of 28 MHz, allowing for resolving a maximum velocity drones are gaining popularity in transportation and are also
of 30 m/s unambiguously, which is the typical maximum speed of increasingly being used for criminal purposes, such as spying
a small drone. Experiments were conducted using a human being and transportation of drugs into prison [7]. Thus, it is of
and a car target as a drone was not available. The B210 induced a
phase drift in the results which causes a Doppler shift. The phase interest to determine whether SDR is capable of being used
drift was resolved by creating a phase equalization matrix, which for radar surveillance applications, as it could lead to radar
was used to correct the phase drift in real-time. Verification of systems deployable against the increasingly prevalent drones.
the designed radar system yielded a 63% probability of detection
and probability of false alarm of 1.7 × 10−6 . II. FMCW WAVEFORMS
Index Terms—Doppler radar, frequency modulation, radar Frequency-modulated continuous-wave (FMCW) radar has
signal processing, software defined radar been the center of interest when designing radar in GNU Radio
because of its low power requirements and low cost [5]. An
I. I NTRODUCTION FMCW waveform, also known as a chirp, is modeled as [8]:
There is a growing demand for cheap portable radar sys- fdev
tems which are configurable and can be used for different f (t) = fT + t, (1)
T
applications. Typical examples are for medical imaging [1] where f (t) is the transmitted waveform of a center transmit
and synthetic aperture radar (SAR) [2]. frequency fT plus the slope. The slope is the relationship
Software defined radio (SDR) is a radio transceiver in between fdev and T , where fdev is the stop frequency of the
which most of the key parameters of radio operations, that chirp in hertz. Fig. 1 shows the reflected signal from a moving
are typically implemented in hardware, are implemented in target, where the signal shifts up or down because of the
software. SDR has allowed radar to be explored in software Doppler effect. The problem is that the beat frequency consists
[3]. Radar is primarily used to measure range and radial of the Doppler and/or range component, and it is impossible
velocity using transmission and reception of radio frequency to determine them using only one beat frequency.
(RF) and signal processing. GNU Radio is one of the platforms
that is used for designing software defined radar together with A. Two-dimensional Signal Processing for FMCW Radar
the Universal Software Radio Peripheral (USRP) as front end. Since it is not possible to determine both range and velocity
Ralston and Hargrave [3] introduce ground penetrating radar using a single up/down chirp, and since the triangular chirp
(GPR) and the concept of using SDR for radar ranging. The does not work for multiple targets, the double fast Fourier
requirements for GPR radar are usually high bandwidth, timing transform (FFT) technique for FMCW signal processing is
accuracy and high transmit power. The prototype was built used for multiple targets, as shown in Fig. 2.
using GNU Radio and USRP2 since these are open source The chirp sequence is multiple pulses within a coherent
and generic. processing interval (CPI), and TCPI is the dwell time at
Sundaresan et al. [4] discuss SDR radar as a potential tech- which a number of pulses are transmitted and received. The
nology to be used for target detection and tracking. Prabaswara transmitted signal is mixed with the Doppler-shifted and time-
et al. [5] discuss the use of SDR radar for weather surveillance delayed reflected signal. The M pulses are arranged in a
f (t) The performance of the low-cost USRP B210 transceiver is
investigated for its performance for radar use in the C band.
fdev τ
At the time of these investigations there was no previous radar
work done using the B210.
fR
B. Radar Model
FFT
Table II gives the specifications of the USRP B210 and the
antenna available that can be used for the experiments. Only
the important parameters which are used to determine the radar
fD performance are listed.
Fig. 2. Chirp processing by the method of pulse Doppler processing. The radar characteristics are used to predict the radar
performance by evaluating the SNR vs. range, as shown in
Fig. 3. The SNR vs. range will be improved in order to meet
two-dimensional matrix in which range and Doppler FFT the radar performance requirements.
processing is performed in order to obtain a range Doppler The signal return of interest is buried under the noise floor
matrix. Then the double FFT can be performed on the range since the SNR is negative. This means that during detection
Doppler matrix in order to obtain the range and radial velocity we will not be able to detect the targets.
of targets. The receiver operating characteristic (ROC) curve in Fig. 4
shows that in order to meet the user’s performance requirement
III. S YSTEM D ESIGN the SNR has to be 12 dB. Various techniques such as intro-
The user requirement is to design and implement an FMCW ducing amplifiers, the use of coherent integration and Doppler
ground-based surveillance radar. It should be able to detect
TABLE I
small drones for the purpose of point defence, which is a low- T HE USER PARAMETERS AND THE CALCULATED DESIGN PARAMETERS
range application, and have the following properties: User Design
Value Value
• A range coverage of up to 150 m—the maximum range Parameter Parameter
allows time for detection and decision making after the Center
5.5 GHz PRF 2200
target has been identified. frequency
2 Range Required: 150 m Number of pulses 50
• Probability of detection of 80% is required for a 0.1 m
−6
Range Required: 0.1 m,
target, with probability of false alarm of 10 , meaning Range of samples 227
resolution achievable: 5.35 m.
1 false alarm per 1 million observations. Velocity 30 m/s Bandwidth 28 MHz
• The sampling rate that we could achieve using the B210 Velocity Required: 1 m/s, #pulses
CPI= PRF 22.73 m/s
is 28 MHz, which results in the range resolution to be resolution achievable: 1.2 m/s.
5.35 m, and not 0.1 m as expected using the range
TABLE II
resolution equation [10]. S PECIFICATIONS OF EQUIPMENT USED
◦
• A desired azimuth coverage of 45 . The advantage of
Parameter description Value
using a directional antenna is that the antenna can achieve C-band 5.5 GHz
higher gain, the narrower the antenna the higher the gain. Maximum transmit power 6.6 dBm
A drone is relatively small, thus the 45◦ azimuth coverage Bandwidth 28 MHz
is enough for the radar to cover multiple drones in the Noise figure 3.8 dB
Antenna 10 dB
direction that the radar is facing.
waveform design. Fig. 7 shows the flow graphs of the im-
plemented GNU Radio block. The B210 handles the transmit
and receive waveform and GNU Radio applies the process
of dechirping. The controller is embedded in the FMCW
transmitter block. The data from the FMCW transmitter is
written in real time and is passed as meta data via JSON
(Java Script Object Notation) so that further signal processing
steps that require the data can proceed. Further processing
was done in Python, and the data packets were sent using
the user datagram protocol (UDP). Detection and windowing
Fig. 3. SNR vs. range were performed and the results displayed in a two-dimensional
range and Doppler plot.
The UDP has a 65535 byte maximum size that can be
transferred as a payload, 8 bytes is the UDP header and 20
bytes is the IP header. It affects the design since there is a
bottleneck for data that can be processed at the same time. The
range samples M was calculated to be 227 per pulse, when the
pulse has PRF of 2200 Hz and the decimated sampling rate is
500 kHz. Since the data over UDP could not be complex, it
was interleaved into float data which resulted in 454 samples
being transferred over UDP. The waveform block was used to
Fig. 4. ROC curve for various SNR values. The SNR of the detector design the waveform, then the waveform was stored in a file
performance requirement is 12 dB. using the GNU Radio file sink. The file source was used to
generate the waveform in real time and send the samples to Receive 2M samples and Apply windowing on
Create N × M matrix
create M complex pairs every pulse length
the USRP.
The signal processing is done sequentially, as shown in Get waveform
Windowing in Doppler
parameters from meta
Fig. 8. After receiving the meta data it is read from the JSON data
dimension
file that is shared over the network using Samba. The meta Store the
data sets the PRF, sampling rate, bandwidth, center frequency complex data in
a file
2D FFT and FFT shift
FFT plot. The pulses are arranged in a two-dimensional matrix Fig. 8. The signal processing algorithm.
and the windowing is done on the Doppler dimension together
with the second FFT. The results are displayed on the two-
dimensional Doppler range map.
V. R ESULTS AND D ISCUSSION
In order to validate the transmit waveform according to
the design parameters, we used a computer with GNU Radio
installed. This computer was responsible for generating the
waveform, and was connected to the USRP transmitting the
signal, which was measured on the spectrum analyzer. The
measured signal on the spectrum analyzer showed that the
bandwidth of the signal was 28 MHz, shown in Fig. 9 by
∆Mkr, but the measured output power of the USRP was
1.39 dBm, and not the 6.6 dBm given in the specifications. Fig. 9. Measured signal on the spectrum analyzer.
The power of the signal is increased by the use of a power
amplifier.
A human being and a car were used as targets in the should be at 0 m/s, but in Fig. 11 it is not centered at the
experiments although the radar was designed to detect a drone. 0 Hz Doppler bin due to the phase drift effect caused by the
The experiments were done with reduced power: instead of the B210, the black line shows that the velocity is increasing with
43 dBm amplifier, a 13 dBm amplifier was used because of distance. The B210 contributes an unknown phase shift that
health implications and to account for using targets which have varied with range on the range Doppler map.
a bigger radar cross section (RCS) than a drone. Fig. 10 shows To correct the phase drift, the phase correction algorithm
the setup and where the experiment was conducted. shown in Fig. 12 was implemented in Python. The process was
The target is approximately 60 m from the radar. The target started by estimating the phase drift by calculating the slope
and the clutter are not moving, so it is expected that they of the phase drift. The Doppler shift is the rate of change of
Estimate the needed
phase drift (−ϕ)
Element-wise
1D FFT in the
multiplication with
Doppler dimension
cos(ϕ) and sin(ϕ)
Fig. 10. Setup used for the experiments.
1D FFT on the Doppler
dimension and FFT shift
Fig. 11. Range Doppler map without phase correction with clutter and
stationary target that was placed at approximately 60 m.