Radar
Radar
BACHELOR OF ENGINEERING
IN
BY
CERTIFICATE
Examiners:
1. .........................
2. .........................
DECLARATION
Date:
Place: Mysore
Chandan R Sagar
Navya Dayanand Naik
ABSTRACT
Overall, the analysis highlights the FMCW radar’s efficient operating prin-
ciple, which combines frequency modulation and the Doppler effect. The
radar’s ability to detect and track pedestrians is greatly enhanced by the
incorporation of feature enhancement techniques like the MTI pulse can-
celler and optimised chirp waveform. The radar is a useful tool in a variety
of real-world situations due to its range, speed measurement accuracy, and
SNR enhancement.The analysis also reveals that the radar can detect tar-
gets with a 1m2 Radar Cross Section (RCS) at a distance of up to 200 metres.
The radar’s transmit power is optimised, and the specified chirp waveform
parameters are used to achieve this range.The FMCW radar exhibits pre-
cise speed measurement capabilities for moving targets, with an accuracy
of 0.18% or lower. The radar’s usefulness in a variety of applications is
further increased by the accuracy that enables accurate speed measure-
ments.Overall, the analysis highlights the FMCW radar’s efficient operating
principle, which combines frequency modulation and the Doppler effect.
The radar’s ability to detect and track pedestrians is greatly enhanced by
the incorporation of feature enhancement techniques like the MTI pulse
canceller and optimised chirp waveform. The radar is a useful tool in a va-
riety of real-world situations due to its range, speed measurement accuracy,
and SNR enhancement.
1 Introduction 1
1.1 Preamble . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.5 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Literature Review 8
2.1 Previous Research . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Summary of literature survey . . . . . . . . . . . . . . . . . . . 11
3 Methodology 12
3.1 Range Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 Velocity measurement with two chirps . . . . . . . . . . . . . . 16
3.3 Velocity resolution . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6 Conclusion 41
6.1 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.2 Future scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5
List of Figures
4.1.1 Matlab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.1.2 Arduino IDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.1.3 NRF24L01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.1.4 SPI Read operation . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.1.5 SPI Write operation . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.1.6 Arduino UNO . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.1.7 LCD display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.1.8 Joystick . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6
List of Tables
Design considerations . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7
Chapter 1
Introduction
1.1 Preamble
FMCW radar (also known as Frequency-Modulated Continuous Wave radar)
is a special type of radar sensor which radiates continuous transmission
power like a simple continuous wave radar (CW-Radar). Unlike CW radar
FMCW radar can change its operating frequency during the measurement,
that is the transmission signal is modulated in frequency (or in phase).
Possibilities of Radar measurements through runtime measurements are
only technically possible with these changes in the frequency (or phase).
The basic features of FMCW radar are:
• Ability to measure very small ranges to the target (the minimal mea-
sured range is comparable to the transmitted wavelength).
• Safety from the absence of the pulse radiation with a high peak power.
1
One of the significant advantages of FMCW radar is its ability to measure
not only the range but also the relative velocity of a target. This is achieved
by tracking the frequency shift of the received signal caused by the Doppler
effect. By continuously measuring the frequency difference, FMCW radar
can determine the speed and direction of moving targets accurately.
The applications of FMCW radar are vast and diverse, owing to its unique
capabilities. One prominent application of FMCW radar is in automotive
sensing, particularly in advanced driver assistance systems (ADAS) and au-
tonomous driving. FMCW radar can provide precise and reliable measure-
ments of the range, velocity, and angle of surrounding objects, enabling
features like adaptive cruise control, collision avoidance, and blind spot de-
tection. It plays a critical role in enhancing road safety and improving the
performance of autonomous vehicles.
In the aerospace industry, FMCW radar finds application in altimeters,
weather radars, and terrain mapping systems. By accurately measuring
the altitude and detecting atmospheric conditions, FMCW radar aids in safe
aircraft navigation, weather monitoring, and hazard avoidance. Industrial
sensing is another domain where FMCW radar excels. Its ability to pen-
etrate various materials and operate in challenging environments makes
it suitable for level sensing, distance measurement, and object detection
in industrial processes. FMCW radar can be employed in inventory man-
agement, liquid level monitoring, and collision avoidance systems in ware-
houses, manufacturing plants, and construction sites.
Moreover, FMCW radar has applications in maritime navigation, en-
vironmental monitoring, and even healthcare. In marine applications, it
assists in ship collision avoidance and aids navigation in adverse weather
conditions. In environmental monitoring, FMCW radar can measure rain-
fall, snow depth, and soil moisture. In healthcare, it can be used for non-
invasive vital sign monitoring and gesture recognition.In conclusion, FMCW
radar offers a powerful and versatile sensing technique with numerous ap-
plications across various industries. Its ability to provide accurate range,
velocity, and other parameter measurements makes it an indispensable tool
for automotive, aerospace, industrial, and many other fields. With ongoing
advancements in technology, FMCW radar continues to evolve, unlocking
new possibilities for sensing, automation, and improving our understand-
ing of the world around us.
FMCW stands for Frequency Modulated Continuous Waves. This radar
basically measures the range, velocity, and angle of arrival of objects in
front of it.There are several different modulations that are used in FMCW
signals such as sawtooth, triangle and sinusoidal. In our case, we will con-
sider a sawtooth model of the FMCW signal. As it can be seen, transmitted
frequency increases linearly as a function oftime during Sweep Repetition
Period or Sweep Time (T). Starting frequency is fc ,Frequency at any given
time t can be found by:
B
f (t) = fc + t (1.1.1)
T
Here, B
T is a chirp rate and can be thought as a “speed” of the frequency
change. We can substitute it with α:
B
α= (1.1.2)
T
2
Figure 1.1: FMCW sawtooth signal model
By using frequency change over time, we can find the instantaneous phase:
Z t
αt2
µ(t) = 2π f (t) dt + µ0 = 2π(fc t + ) + ϕ0 (1.1.3)
0 2
Therefore, our signal form for the transmitted signal in the nth sweep be-
comes:
αt2s
xtx (t) = A(cos(µ(t)) = A cos(2π(fc (nT + ts ) + ) + ϕ0 ) (1.1.5)
2
Let’s consider an object located at an initial distance of R which is moving
with a relative velocity of v. The returned signal from the object will have
the same form, but with some delay τ which can be defined as:
α(ts − τ )2 )
xrx (t) = B cos(µ(t − τ )) = B cos(2π(fc (nT + ts − τ ) + + ϕ0 ) (1.1.7)
2
According to the FMCW radar principle, the returned signal is mixed with
the transmitted signal:
xm (t) = xtx (t)xrx (t) (1.1.8)
The equation above will include cosine multiplication which can be trans-
formed using the trigonometric formula below:
3
The sum term in our case will have a very high frequency which will be
filtered out. Therefore, the resulting signal will only include the subtraction
term:
AB αt2 α(ts − τ )2 )
xm (t) = cos(2πfc (nT + ts ) + s − fc (nT + ts − τ ) − (1.1.10)
2 2 2
After simplification we get:
AB ατ 2
xm (t) = cos(2π(fc τ + ατ ts − )) (1.1.11)
2 2
If we replace τ with its equivalent from Equation 6.6 , we will get:
where the term 4πfcc R is a constant phase term, since R is an initial distance
at which the object is located.
The frequency spectrum of the signal computed over one modulation period
will give us 2αR
c as a main frequency component which is the beat frequency.
The derivation of the beat frequency is usually based on the Fast Fourier
Transform (FFT) algorithm which efficiently computes the Discrete Fourier
Transform (DFT) of the digital sequence. Consequently, by applying the FFT
algorithm over one signal period, we can easily find the beat frequency and
4
thus the range to the target:
2αR fb c
fb = and R = (1.1.15)
c 2α
Range resolution of a radar is the minimum range that the radar can dis-
tinguish two targets on the same bearing. Based on the above equation
and substituting α with Equation 6.2, we can find the range resolution of
a radar. It is based on the fact that the frequency resolution ∆fb of the
mixed signal is bounded by the chirp frequency which means that in order
to be able to detect two different objects, the frequency difference of the
mixed signal returned from that objects cannot be smaller than the chirp
frequency. This intuition gives the range resolution which can be found as:
2B∆R 1 c
∆fb = . and ∆R = (1.1.16)
c T 2B
On the other hand, there is also a phase 2fcc v .nT associated with the beat
frequency which changes linearly with the number of sweeps. The change
of the phase indicates how the frequency of the signal changes over conse-
quent number of periods. This change is based on the Doppler frequency
shift which is the shift in frequency that appears as a result of the relative
motion of two objects. The Doppler shift can be used to find the velocity of
the moving object:
2fc v fd c
fd = and v = (1.1.17)
c 2fc
The Doppler shift of the signal can be found by looking at the frequency
spectrum of the signal over n consecutive periods (n·T). In this case, the
FFT algorithm is applied on the outputs of the first FFT. Figure 6.2 de-
scribes this process; first, the row-wise FFT is taken on the time samples,
second, the column-wise FFT is taken on the output of the first FFT. After
two dimensional FFT processing, we have a range-Doppler map which con-
tains range and velocity information of the target.
Velocity resolution of a radar is the minimum velocity difference between
two targets travelling at the same range of which the radar can distin-
guish. It can be found in a similar way as the range resolution. Here,
the Doppler frequency change over n chirp durations is bounded by the
frequency resolution(∆fd ≥ nT 1
). Thus, the velocity resolution can be ex-
pressed as:
c 1
∆v = . (1.1.18)
2fc nT
5
Figure 1.2: FMCW signal 2D FFT processing
1.3 Motivation
This topic touches a lot of topics like RF circuit design, Microwaves and
Antennas, Analog circuits, Advanced Communication Engineering,Thermal
imaging which are very exciting to deal with. Along with these the outcome
of this project help the user such that it has the potential to identify the
object.
6
Figure 1.4.3: Block diagram for highway scenario
1.5 Objectives
• Generating samples of FMCW chirp signal in matlab.
7
Chapter 2
Literature Review
8
proposed baseband signal processing architecture and algorithms bal-
ance the performance and complexity, and are suitable to be imple-
mented in a real automotive radar system. Field measurement re-
sults demonstrate that the proposed automotive radar signal process-
ing system can perform well in a realistic application scenario.
9
can be used to augment, cross-check or ‘fuse’ situational models de-
rived using advanced computer vision algorithms.
10
10. Thermal Sensor-Based Multiple Object Tracking for Intelligent Live-
stock Breeding
This paper proposes the method of tracking animals using a single
thermal sensor. The key idea of the proposed method is to represent
the foreground (i.e., animals) easily obtained by a simple threshold-
ing in a thermal frame as a topographic surface, which is very helpful
for finding the boundary of each object even in cases with overlap-
ping. Based on the segmentation results derived from morphological
operations on the topographic surface, the center positions of all the
animals are consistently updated with an efficient refinement scheme
that is robust to the abrupt motions of animals.
11
Chapter 3
Methodology
and represents the rate of change of frequency over time. The slope of the
chirp determines the range resolution of the radar system. A larger slope
corresponds to a higher range resolution, allowing the radar to distinguish
between closely spaced objects. Conversely, a smaller slope provides lower
range resolution but allows for longer maximum detection range.
By analyzing the reflected or ”echo” signal, the radar system can deter-
mine the time delay and frequency shift of the received signal, which are
used to calculate the range and velocity of detected objects. This process
is known as ”range-Doppler processing” and is a key technique in FMCW
radar systems.
In FMCW radar systems, a chirp signal is generated by a synthesizer
(synth) and transmitted through a transmit antenna (TX ant). As the chirp
signal encounters objects in its path, it reflects back and is captured by a
receive antenna (RX ant). To combine the received and transmitted signals,
a frequency mixer is utilized. The purpose of the mixer is to create an inter-
mediate frequency (IF) signal by merging the two input signals. A frequency
12
Figure 3.0.2: Chirp signal
x1 = sin(ω1 ∗ t + ϕ1 ) (3.0.1)
x2 = sin(ω2 ∗ t + ϕ2 ) (3.0.2)
The output signal, xout , is generated with a new frequency that corresponds
to the difference between the instantaneous frequencies of the input signals
represented by equation
13
Figure 3.0.4: Multiple IF tones for multiple - object detection
ϕ0 = 2πf cτ (3.0.5)
14
signal will be a sine wave described by equation 3.0.7:
A sin(2πf0 + ϕ0 ) (3.0.7)
Here, f0 = S2d
c , where S represents the slope of the chirp and c is the speed of
light. The phase ϕ0 is given by 4πd/λ. Up until now, we have assumed that
the radar has detected only one object. However, let’s consider a scenario
where multiple objects are detected. In such cases, the received RX chirps
from different objects will exhibit varying time delays proportional to their
respective distances. Consequently, these different RX chirps will translate
into multiple IF tones, each having a constant frequency
To separate and distinguish the various tones within the IF signal compris-
ing multiple objects, Fourier transform processing is employed. By applying
Fourier transform processing, a frequency spectrum is obtained, where sep-
arate peaks indicate the presence of different tones, each corresponding to
an object at a specific distance. The IF signal consisting of multiple tones,
15
spectrum displays two distinct peaks. According to Fourier transform the-
ory, the ability to resolve frequency components depends on the observation
window (T). It states that frequency components can be distinguished if their
frequency difference is greater than 1/T Hz. This relationship is mathemat-
ically expressed as in equation 3.0.8. In simpler terms, two tones within the
IF signal can be resolved in terms of frequency as long as the difference in
their frequencies exceeds the reciprocal of the observation window multi-
plied by the speed of light (c).
1
∆f > (3.1.1)
Tc
where Tc is the observation interval. Considering the relationship ∆f =
S2∆d/c, Equation 8 can be rewritten as ∆d > c/(2ST c) = c/2B (since B = TSc ).
This implies that the minimum resolvable distance (∆d) is greater than the
reciprocal of half the chirp bandwidth 2B
c
). The range resolution (dRes ) of an
FMCW radar system depends solely on the bandwidth swept by the chirp,
as indicated in Equation 3.0.9:
c
dRes = (3.1.2)
2B
Therefore, an FMCW radar with a chirp bandwidth spanning a few GHz will
achieve a range resolution on the order of centimeters. For example, a chirp
bandwidth of 4 GHz corresponds to a range resolution of approximately 3.75
cm.
4πvTc
∆ϕ = (3.2.1)
λ
Using Equation 3.0.11, the velocity (v) can be derived as:
λ∆ϕ
v= (3.2.2)
4πTc
Since the velocity measurement is based on a phase difference, there
is an inherent ambiguity. The measurement is unambiguous only if the
absolute value of the phase difference ∆ϕ is less than π. From Equation
3.0.11, it can be mathematically derived that the velocity (v) should be less
than 4πT λ
c
to avoid ambiguity.
Furthermore, Equation 3.0.12 provides the maximum relative speed
(vmax ) that can be measured by two chirps separated by Tc. A higher vmax re-
quires reducing the transmission time between chirps. It can be expressed
as:
16
Figure 3.2.1: Two chirp velocity measurement
λ
vmax = (3.2.3)
4Tc
In simpler terms, the maximum relative speed that can be accurately
measured using two chirps with a time separation of Tc is determined by
the wavelength (lambda) divided by four times the chirp duration (Tc )
The velocity measurement method using two chirps becomes ineffective
when multiple moving objects with different velocities are located at the
same distance from the radar. Since these objects are equidistant, they
will produce reflected chirps with identical intermediate frequency (IF) fre-
quencies. As a result, the range-FFT processing will yield a single peak,
representing the combined signal from all these equidistant objects. A sim-
ple phase comparison technique cannot distinguish between them.
To overcome this challenge and measure the velocities accurately, the
radar system needs to transmit more than two chirps. It utilizes a set of N
equally spaced chirps known as a chirp frame. Figure 3.0.7 illustrates the
frequency variation over time for a chirp frame.
17
example of two objects equidistant from the radar but with different ve-
locities, v1 and v2. The range-FFT is applied to the reflected chirp frame,
resulting in N peaks located at the same positions, but each peak having
a different phase that incorporates the phase contributions from both ob-
jects (represented by the red and blue phasors in Figure 3.0.8). To resolve
the velocities of the individual objects, a second FFT called the Doppler-FFT
is performed on the N phasors obtained. This Doppler-FFT helps separate
the contributions of the two objects, as shown in Figure 3.0.9. The phase
differences between consecutive chirps for the respective objects are repre-
sented by ω1 and ω2. Using Equation 3.0.13, the velocities v1 and v2 can
be calculated as:
λω1 λω2
v1 = , v2 = (3.2.4)
4πT c 4πT c
These equations relate the phase differences (ω1and ω2) to the velocities (v1
and v2 ) of the objects, taking into account the wavelength (λ) and the chirp
duration (Tc ). By analyzing the results of the Doppler-FFT, the radar system
can determine the velocities of the individual objects accurately.
λ
v > vres = (3.3.1)
2T f
18
This equation demonstrates that the velocity resolution of the radar system
is inversely proportional to the frame time (Tf ). In other words, a longer
frame time allows for better velocity resolution, enabling the radar to dis-
tinguish between objects with smaller velocity differences.
19
Chapter 4
20
Figure 4.1.1: Matlab
Arduino IDE
The Arduino Integrated Development Environment (IDE) is a software plat-
form designed to simplify the development process for Arduino microcontroller-
based projects. It provides a user-friendly interface and a set of tools that
enable programmers, hobbyists, and professionals to write, compile, and
upload code to Arduino boards easily.The Arduino IDE offers a streamlined
programming experience, especially for beginners, by providing a simplified
coding environment. It utilizes a variant of the C++ programming language,
making it accessible to those familiar with basic programming concepts.
The IDE includes a text editor with syntax highlighting and auto-completion
features, which help in writing code accurately and efficiently.
In addition to the code editor, the Arduino IDE incorporates a built-in
compiler that translates the code into machine-readable instructions for
the Arduino board. It supports a wide range of Arduino board models and
configurations, allowing developers to select the appropriate board and port
settings for their project. The IDE also provides a comprehensive library of
pre-written functions and examples that can be easily referenced and uti-
lized, saving time and effort in coding complex functionalities.One of the
notable features of the Arduino IDE is the Serial Monitor. This tool enables
bidirectional communication between the Arduino board and the computer,
allowing developers to send and receive data for debugging and testing pur-
poses. The Serial Monitor also provides a convenient way to monitor sensor
readings, debug code, and display output messages during runtime.
The Arduino IDE further simplifies the uploading process, allowing users
to effortlessly transfer their compiled code to the Arduino board. It supports
various connection methods, such as USB, Bluetooth, or Wi-Fi, depending
on the board’s capabilities. Once the code is successfully uploaded, the Ar-
duino board executes the instructions, enabling the project to function as
intended.Furthermore, the Arduino IDE is an open-source platform, mean-
ing its source code is freely available for modification and improvement.
This openness fosters an active and supportive community of developers
who contribute libraries, tutorials, and extensions, expanding the capabil-
ities of the IDE and enhancing the overall Arduino ecosystem.
21
Figure 4.1.2: Arduino IDE
22
within a limited area. The module supports 126 RF channels, allowing mul-
tiple NRF24L01 modules to coexist without interference. It offers selectable
data rates of 250 kbps, 1 Mbps, and 2 Mbps, enabling you to balance speed,
range, and power consumption according to your specific application needs.
The NRF24L01 communicates with microcontrollers through an SPI inter-
face, facilitating easy integration with popular development platforms like
Arduino or Raspberry Pi. Operating at a power supply range of 1.9V to 3.6V,
it consumes low power, making it suitable for battery-powered applications.
With its features and capabilities, the NRF24L01 module is widely used in
wireless projects such as remote control systems, wireless sensor networks,
home automation, and more.
Features
1. True single chip GFSK transceiver
3. Enhanced ShockBurst™
DEVICE CONFIGURATION
All configuration of nRF24L01 is defined by values in some configuration
registers. All these registers are writable via the SPI interface. The SPI
interface is a standard SPI interface with a maximum data rate of 10Mbps.
Most registers are readable.
23
SPI Timing
The interface supports SPI. SPI operation and timing is given in Figure to
Figure and in Table and Table . The device must be in one of the standby
modes or power down mode before writing to the configuration registers. In
Figure to Figure the following notations are used:
Cn - SPI Instruction Bit
Sn -Status Register Bit
Dn - Data Bit (note: LSByte to MSByte, MSBit in each byte first)
Telemetry
The nRF24L01 is a 2.4 GHz transceiver module that operates in the ISM (In-
dustrial, Scientific, and Medical) band. It offers features like low power con-
sumption, high data rate, and a range of up to 100 meters in open spaces.
The module supports point-to-point and multi-point communication. To
establish communication between two nRF24L01 modules, the following
hardware setup is required:
1. Two nRF24L01 modules
4. Connecting wires
Pin Connections
The nRF24L01 module has eight pins that need to be connected to the mi-
crocontroller. The following pin connections are necessary:
• VCC: Connect to the 3.3V power supply.
24
• CSN (Chip Select Not): Connect to a digital pin on the microcontroller.
• SCK (Serial Clock): Connect to the SPI clock pin on the microcon-
troller.
• MOSI (Master Out Slave In): Connect to the SPI data output pin on
the microcontroller.
• MISO (Master In Slave Out): Connect to the SPI data input pin on the
microcontroller.
Communication Protocol:
The nRF24L01 modules use a protocol that consists of a transmitter (TX)
and a receiver (RX). The transmitter sends data packets, and the receiver
receives and decodes them. The modules operate on a set of pre-defined
channels and share a common address. To enable communication between
two nRF24L01 modules, the following steps are involved:
• Configure the module settings (channel, data rate, power level, etc.).
• Set the address for each module (to distinguish multiple modules in
the same environment).
• Implement the necessary functions to send and receive data using the
nRF24L01 modules.
Arduino UNO
The Arduino Uno is one kind of microcontroller board based on ATmega328,
and Uno is an Italian term which means one. Arduino Uno is named for
marking the upcoming release of microcontroller board namely Arduino
Uno Board 1.0. This board includes digital I/O pins-14, a power jack, ana-
log i/ps-6, ceramic resonator-A16 MHz, a USB connection, an RST button,
and an ICSP header. All these can support the microcontroller for further
operation by connecting this board to the computer. The power supply of
this board can be done with the help of an AC to DC adapter, a USB cable,
otherwise a battery.
The Arduino Uno is a widely used microcontroller board that serves as the
25
Figure 4.1.6: Arduino UNO
1. Digital I/O Pins (14): The Arduino Uno has 14 digital I/O pins, labeled
as digital pins 0 to 13. These pins can be used for both digital input
and output operations. They support 5V logic levels and can provide
or receive a maximum of 40mA of current.
2. PWM (Pulse Width Modulation) Pins (6): Among the 14 digital I/O
pins, 6 of them (pins 3, 5, 6, 9, 10, and 11) can be configured as PWM
outputs. These pins are marked with a tilde ( ) symbol on the board.
PWM allows you to simulate analog output by varying the duty cycle
of the digital signal.
3. Analog Input Pins (6): The Arduino Uno has 6 analog input pins, la-
beled as A0 to A5. These pins can read analog voltage values ranging
from 0V to 5V. They can be used with sensors or other devices that
provide analog output signals.
4. Power Pins:
26
(a) 5V Pin: This pin provides a regulated 5V supply for powering
external components.
(b) 3.3V Pin: This pin provides a regulated 3.3V supply.
(c) GND Pins: There are several ground (GND) pins available on the
board for completing electrical circuits.
(a) Reset Pin: This pin is used to reset the microcontroller. Pulling
the reset pin LOW resets the microcontroller.
(b) RX/TX Pins: These pins are used for serial communication. RX
(Receive) is pin 0, and TX (Transmit) is pin 1.
6. I2C Pins:
(a) SDA (Data): This pin is used for I2C data communication.
(b) SCL (Clock): This pin is used for I2C clock synchronization.
It’s important to note that some pins have additional functionality and can
be used for specific purposes such as SPI communication or interrupts. The
Arduino Uno’s pin configuration offers flexibility and versatility for a wide
range of projects and applications.
LCD Display
The term LCD stands for liquid crystal display. It is one kind of electronic
display module used in an extensive range of applications like various cir-
cuits and devices like mobile phones, calculators, computers, TV sets, etc.
These displays are mainly preferred for multi-segment light-emitting diodes
and seven segments. The main benefits of using this module are inexpen-
sive,simply programmable, animations, and there are no limitations for dis-
playing custom characters, special and even animations, etc.
2. Pin2 (VCC/Source Pin): This is the voltage supply pin of the display,
used to connect the supply pin of the power source.
5. Pin5 (Read/Write/Control Pin): This pin toggles the display among the
read or writes operation, and it is connected to a microcontroller unit
pin to get either 0 or 1 (0 = Write Operation, and 1 = Read Operation).
27
Figure 4.1.7: LCD display
Features of LCD16∗2
The features of this LCD mainly include the following.
1. The operating voltage of this LCD is 4.7V-5.3V.
2. It includes two rows where each row can produce 16-characters.
3. The utilization of current is 1mA with no backlight.
4. Every character can be built with a 5×8 pixel box.
5. The alphanumeric LCDs alphabets and numbers.
6. Is display can work on two modes like 4-bit and 8-bit
7. These are obtainable in Blue and Green Backlight.
8. It displays a few custom generated characters.
Registers of LCD
A 16×2 LCD has two registers like data register and command register. The
RS (register select) is mainly used to change from one register to another.
When the register set is ‘0’, then it is known as command register. Similarly,
when the register set is ‘1’, then it is known as data register.
28
• Command Register
The main function of the command register is to store the instructions
of command which are given to the display. So that predefined tasks
can be performed such as clearing the display, initializing, set the
cursor place, and display control. Here commands processing can
occur within the register.
• Data Register
The main function of the data register is to store the information which
is to be exhibited on the LCD screen. Here, the ASCII value of the
character is the information which is to be exhibited on the screen
of LCD. Whenever we send the information to LCD, it transmits to
the data register, and then the process will be starting there. When
register set =1, then the data register will be selected.
Joystick
The joystick is an input device. The analogue joystick is sometimes called
a control stick. Used to control the movement of the pointer on the 2-
dimensional axis. The joystick has two potentiometers for reading user in-
put. A potentiometer is used to get the analogue output voltage for the X
Direction movement. The other potentiometer is used to get the analogue
output voltage for moving in the Y direction. The potentiometers are con-
nected between + VCC and the ground. They only behave like a voltage
divider network. The joystick has a rotatable holder. According to the move-
ment of the bracket, the potentiometer button changes its position and the
resistance of the potentiometer.
Pin Description
1. Pin 1, 5 – VCC and GND Supply voltage(+5V) and the ground were
given to Joystick.
29
2. Pin 2 –X-OUT This pin provides an analogue output voltage from 0
volts to VCC according to the movement of Holder in X-direction (axis).
4. Pin 4 – Switch This pin has one tactile switch. When a switch is not
pressed, this pin is connected to VCC through a resistor. When a
switch is pressed, this pin is connected to Ground.
4.2 Design
Sampling is the conversion of a continuous-time signal into a discrete-time
signal in signal processing. The transformation of a sound wave into a series
of ”samples” is a typical example. The definition of a sample differs from the
use of the term in statistics, which refers to a collection of such values. A
sample is a value of the signal at a point in time and/or space.
The sampling frequency or sampling rate, abbreviated fs , is the average
number of samples obtained in one second; as a result, fs = T1 , with the
unit samples per second, also known as hertz; for instance, fs = 48,000
samples per second for a sampling frequency of 48 kHz.
Design Considerations
Variable Value Description
fs 1MHz Sampling frequency
fc 10MHz Starting frequency
B 50MHz Bandwidth
Ton 10µs Chirp duration
T 1000 Total number of samples per chirp
t 1ns Sampling interval
MI 1tera Hzs−1 Modulation Index
n 2 Number of chirps
R 100m Target distance in meters
v 13ms−1 Speed of the target object
30
• Starting Frequency (fc ): The radar starts at a frequency of 10 MHz,
serving as the initial frequency of the chirp waveform.
• Total Number of Samples per Chirp (T): The radar utilizes a total of
1000 samples per chirp, capturing the time-domain representation of
the received signal.
• Number of Chirps (n): The radar performs 2 chirps, allowing for mul-
tiple measurements and improved detection accuracy.
• Target Distance (R): The target distance is set to 100 meters, repre-
senting the distance between the radar and the target object.
• Speed of the Target Object (v): The target object is moving at a speed
of 13 m/s, indicating the rate of change of its position over time.
These design parameters provide the necessary specifications for the FMCW
radar analysis, allowing for the accurate detection, range estimation, and
velocity measurement of the target objects. The specific values chosen for
each parameter are based on the requirements of the analysis and can be
adjusted to suit different application scenarios.
The design considerations for the hardware blocks required in the analysis
of the Frequency Modulated Continuous Wave (FMCW) radar system are
presented. The following hardware blocks are essential for the successful
implementation of the radar:
• Transmitter Block:
• Antenna Block:
31
– Receive Antenna: Collects the reflected signals from the target
objects.
• Receiver Block:
• Power Supply:
Together, these hardware components give the FMCW radar system the abil-
ity to transmit and receive signals, process the data that is received, and
carry out target detection, range estimation, and velocity measurement.
Specific component selection and integration will depend on elements like
desired performance, system constraints, and resource availability.
To achieve dependable and accurate operation of the FMCW radar sys-
tem, it is crucial to ensure proper integration and compatibility of the hard-
ware blocks. To improve the overall performance of the radar system, factors
like power consumption, signal integrity, and noise management should be
taken into account during the design and implementation phases.
It is important to note that the hardware blocks discussed in this de-
sign chapter, which are crucial for the functioning of the Frequency Modu-
lated Continuous Wave (FMCW) radar system, are not physically available.
Instead, all the blocks and their functionalities are simulated using MAT-
LAB. This simulation-based approach allows for a comprehensive analysis
32
of the radar system’s performance and behavior without the need for physi-
cal hardware components.By utilizing MATLAB simulations, the design and
evaluation of the FMCW radar system can still be effectively conducted. The
simulated hardware blocks, including the transmitter, receiver, antennas,
and signal processing components, enable the examination of various radar
parameters, such as range estimation, target detection, and velocity mea-
surement.
While the physical implementation of the hardware blocks would typi-
cally be necessary for practical deployment, the simulation-based approach
offers a valuable and cost-effective means for initial design, performance
evaluation, and algorithm development. It allows for extensive testing and
optimization before progressing to the physical hardware implementation
phase.
Moreover, MATLAB simulations provide flexibility in adjusting different
parameters and configurations of the FMCW radar system, facilitating thor-
ough analysis and exploration of various scenarios and operational condi-
tions.
It is crucial to acknowledge the reliance on simulated hardware blocks
and to recognize that the subsequent steps would involve transitioning from
simulation to physical implementation, considering factors such as hard-
ware selection, integration, and real-world constraints. However, the sim-
ulated results obtained from MATLAB provide valuable insights and serve
as a foundation for the subsequent stages of designing and developing the
FMCW radar system.
33
Chapter 5
This chapter contains all the results obtained from the project
34
5.2 Generation of beat signal
The beat signal is result of time domain mixing of instantaneous transmit-
ted signal and instantaneous received signal.It consists of a high frequency
signal (f1 + f2 ) and low frequency signal (f1 − f2 ).
35
Figure 5.2.3: Beat signal in frequency domain
Then the beat signal is transformed into frequency domain and half of
the samples are filtered by removing them, resulting retention of only lower
frequency in the beat signal, frequency domain of the resultant beat signal
is as shown in Figure 5.2.4
36
Figure 5.3.1: FFT output versus range plot target distance considered
100m
Figure 5.3.2: FFT output versus range plot target distance considered
150m
37
5.4 Velocity,Range and 2-D FFT
This plot provides information about the target distance. It is found in the
range axis corresponding to the highest amplitude of the 1-D FFT output.
Here the target distance was considered as 100 meters as shown in figure
5.4.1. This plot provides information about the target velocity. It is found
in the doppler axis corresponding to the peak amplitude of the 2-D FFT
output. Here the velocity assumed was 13.89 m/s as shown in figure 5.4.2.
38
Figure 5.4.3: Range vs 2D FFT output plot
39
Figure 5.4.5: Transmitter and Receiver
The two modules being used in this context are quite similar and can
be interchanged. The main distinction between them is that one module
includes a built-in Low Noise Amplifier (LNA) and an external antenna con-
nection. Despite being slightly more expensive, this module is preferred
due to its ability to facilitate reliable data communications over a signifi-
cant distance. For most users, it should provide ample coverage for their
entire house unless they reside in an exceptionally large property like a cas-
tle.
The nRF24L01 module is equipped with an 8-pin connector that serves
as its interface to the external environment. This connector is shared by
both styles of nRF24L01 modules. While the nRF24L01 requires a power
supply ranging from 1.9 to 3.9 volts, its logic pins have a 5-volt tolerance.
Therefore, they can be directly connected to an Arduino or any other 5-volt
logic microcontroller.
40
Chapter 6
Conclusion
6.1 Conclusion
As you can see, an FMCW sensor uses a combination of RF, analogue, and
digital electronic components to estimate the distance, speed of nearby ob-
jects. A unique class of radar technology known as millimetre wave (mmWave)
employs electromagnetic waves with short wavelengths. Radar systems emit
electromagnetic wave signals, which are reflected by objects in their path.
The range, velocity, and angle of the objects can be ascertained by a radar
system by capturing the reflected signal. mmWave radars send out signals
with millimeter-wavelength wavelengths.
One benefit of this technology is that this electromagnetic spectrum
wavelength is thought to be short. In fact, the size of the system com-
ponents needed to process mmWave signals, like the antennas, is minimal.
The high accuracy of short wavelengths is another benefit. A mmWave sys-
tem operating between 76 and 81 GHz (corresponding to a wavelength of
about 4 mm) will be able to pick up movements as minute as a millimetre
or so.
A complete mmWave radar system includes transmit (TX) and receive
(RX) radio frequency (RF) components; analog components such as clock-
ing; and digital components such as analog-to-digital converters (ADCs),
microcontrollers (MCUs) and digital signal processors (DSPs). Tradition-
ally, these systems were implemented with discrete components, which in-
creased power consumption and overall system cost. System design is chal-
lenging due the complexity and high frequencies.
41
examined whether the SDRAM storage of the intermediate data is actually
necessary.
42
References
[3] A Study of an X-band FMCW Radar for Small Object Detection.2021 In-
ternational Electrical Engineering Congress (iEECON2021) March 10-
12, 2021, Pattaya, THAILAND.
43
[14] A Software-Synchronization Based, Flexible, Low-Cost FMCW
Radar.TAO WANG , PING LI , RUI WANG , ZHICHAO SHENG AND
LIXUN HUANG
[18] A Scanning FMCW-Radar System for the Detection of Fast Moving Ob-
jects.
44