# interactive radar tutorial

this tutorial will explain the physical details behind radar to help you understand what is going on, when using radar sensors.

- electromagnetic waves: What are EM waves?
- radar equation: the fundamental equation behind radar
- doppler Effect: frequency shift of a moving object
- IQ Signals: common data transmission
- Fourier Transformation: essential data processing technique

## 1. electromagnetic waves

as with other waves, electromagnetic (EM) waves exhibit reflection, refraction, diffraction, and polarization. EM waves can be experienced and utilized differently based on their frequency or wavelength. EM waves with wavelengths in the Kilometer range are used for very long distance communications, EM waves with wavelengths in the micrometer range create our visible light spectrum, and EM waves with wavelengths in the picometer range are used for medical investigations and are referred to as Xrays

for mm-wave radar the wavelengths are in the millimeter range, a 24 GHz radar system has a wavelength λ of :

antennas in a radar system are used to convert voltages and currents to EM-waves at the sender side and convert EM-waves to voltages and currents on the receiver side.

## 2. radar equation

in a radar system the EM waves are transmitted from the transmit (**TX**) antenna then propagate in space until the hit the target to be reflected and head back to be received by the receive (**RX**) antenna. to detect this reflected signal, it has to be higher than the smallest detectable signal of a radar system. this minimum signal is usually compared to the noise level and this ratio is referred to by the minimum signal to noise ratio ($Rmin $).

the amount of signal power received is quite critical to the radar’s operation as it defines the difference between detectable and undetectable targets. this value is governed by the famous radar equation:

you can experience the effect of each parameter of the radar equation using our application. s**tart experimenting!**

_{(For the radar equation we recommend you to use Chrome or Opera)}

the radar equation shows how the received power is governed by multiple variables. as expected, the power drops very rapidly with distance which is governed by the term **1/R ^{4}**, where R is the distance between the radar and the target. the power is also governed determined by the gain of the transmit and the receive antennas $Gtx $ and $Grx $

_{ }this gain is a measure of the efficiency of the antennas plus how much the antennas focuses the energy in the direction of the target. clearly the received power will also increase by the transmitted power level $Ptx $. targets reflect EM-waves differently, a big metal object will reflect much more energy back than a small tennis ball, this is accounted for in the equation with the radar cross section term σ. last but not least

**λ**the shows the dependency of the received power on the wavelength/frequency, from the equation this means the higher the frequency the lower the power received.

^{2 }## 3. doppler Effect

most of us have experienced the doppler Effect in one way or another, the most common is the sudden change in the pitch when an ambulance crosses you.

The doppler Effect happens when distance between the peaks of the waves get closer to each other (frequency shifts up), this happens if the source of the waves is traveling in the direction of the observer, or if the peaks move further apart (frequency shifts down) if the source is traveling away.

this frequency shift f for EM waves can be directly derived from the original wave frequency $f_{0}$ and the velocity $v$ of the wave source relative to the observer:

a doppler radar operates by sending a frequency via the transmit antenna which is reflected back by the target to be captured by the receive antenna. if the target is moving this received signal frequency will be shifted based on the speed of motion. the receiver of a Doppler radar uses a specific block (mixer) that produces an output signal based on the transmitted and received signals. the output of this block has a frequency which is equivalent to the absolute difference in the frequency between the transmitted signal and the reflected one, also known as the Doppler shift.

## 4. IQ signals

IQ signals in the realm of radar and electrical engineering are signals that have the same amplitude and frequency but are shifted 90° or a quarter cycle relative to each other.

radar systems will have either real receive stages or complex ones. a real stage would only have one component of the received signal while a complex stage will generate both the I & Q components. there are several advantages of generating the IQ signals and using them for further analyses, however in the case of doppler radar the IQ signals serve a more basic purpose.

since a real mixer used in a doppler radar receiver will give the absolute frequency shift without a direction or sign, it becomes impossible to determine the direction of travel of the target. using an IQ mixer, which generates both the I & Q signals, and by checking which of the signals is leading in phase the direction of travel can be determined.

## 5. fourier transformation

** 5.1. discrete fourier transform**

electrical signals can be visualized in various ways: if you connect a 24 GHz signal from an Infineon chip to a high-speed oscilloscope you will see a sine wave which is a time-domain-signal. if you decide to connect the signal to a spectrum analyzer, what you will see is a line at 24 GHz.

dft is a mathematical transformation that is used to transform finite discrete signals from the time domain into the frequency domain. inversely the inverse Fourier transform converts finite discrete signals from the frequency domain to the time domain.

for a discrete time domain signal of length **T** and sample time of **Δt** the dftrepresentation will have a maximum frequency (Nyquist frequency)and a frequency resolution (also known as bin spacing)

the DFT generates a series of complex numbers, which convey information on the frequency’s magnitude and phase.

** 5.2. fast fourier transform**

fft is an algorithm that transforms a time-domain-sampled signal into its frequency components. In comparison to the dft, which has a computing complexity given by** O(n ^{2})** , where n is the length of the series, the computing complexity of the fft algorithm is given by

**$O(n⋅log(n)).$**

the transformation if applied to real data (non IQ) generates a symmetric data set with positive and negative frequencies where only the positive regions is of interest for radar signal analyses. on the other hand if complex input data is used (IQ where the complex structure is as follows I+iQ) the transformation will generate a positive frequency series extending up to a maximum frequency , which is the double of that in a real fft. this is however in agreement with the Nyquist frequency theorem since applying the FFT to the IQ signals is equivalent to sampling the real part only at doubling the sampling rate.

## done

that’s it! you’re all set up now to start your own projects and explore the world of radar by yourself you need some inspiration? here are some demo projects