LectureNote DSP IDEC2023
LectureNote DSP IDEC2023
IDEC Lecture by
Professor Kyung Y. Yoo
Hanyang University, ERICA
Contents
1. DT signal and systems 4. Spectral analysis
• Filtering • Resolution
• Non-parametric spectral estimation
• Parametric spectral estimation
2. Multi-rate signal processing • Time-frequency analysis
• Conversion of sample rates
• Applications 5. Realization of digital filters
• Implementation structures
• Fixed-point filter
3. Filter design
• FIR filter design
• IIR filter design
6. Topics in radar
• Radar structures
• Filter design in MATLAB
• Phased array system
• Detection and estimation
1
MATLAB Supports
• Documents on each Toolbox
Getting Started
User’s Guide
Reference
• Examples
• Webinars
• MATLAB onramp
• File Exchanges in User Society
Discrete-time Signal
• Time-domain Sampling Theorem
An analog signal 𝑥 (𝑡) could be perfectly reconstructed from the discrete-time signal without
any loss of information, if the sampling rate (frequency) is at least twice of the signal
bandwidth (or the highest frequency component of the signal).
sampling rate (frequency, 𝐹 [samples/sec] or [Hz])
sampling period (𝑇 = 1/𝐹 [sec])
2
DT Single-tone Signal
• 𝑥 𝑡 = 𝐴 ⋅ cos 2𝜋𝐹 𝑡 → 𝑥 𝑛 = 𝑥 𝑡 | ← = 𝐴 cos 2𝜋 𝑛 = 𝐴 cos 2𝜋𝑓𝑛
Frequency response, 𝐻 𝑒
𝐻 𝑒 = 𝐻 𝑒 ∠𝐻(𝑒 )
Magnitude and phase response
𝑌 𝑒 = 𝐻(𝑒 )𝑋(𝑒 )
3
Digital Filtering
• Goal
Remove un-wanted spectral contents from the signal.
Shape the signal spectrum: Reject some spectral components while preserving others.
Frequency selective filters
Pre- or post-processing of signals
Sampling rate conversion
Differentiate or integrate signals
Transform signals
• Concerns
Spectral characteristics of target signals
Filter design
FIR vs. IIR filter
Pre- and post-processing
Delay compensation
4
Discrete Fourier Transform
• Frequency-domain sampling
DTFT 𝑋(𝑒 ) is a function of continuous (discrete-time) frequency 𝜔.
In order to compute 𝑋(𝑒 ), we need to discretize the continuous variable 𝜔 ∈ (−𝜋, 𝜋),
while preserving the information in 𝑋(𝑒 ).
t n ω k
5
Circular Convolution
• 𝑌 𝑘 = 𝐻 𝑘 𝑋(𝑘)
𝑥(𝑛) 𝑦(𝑛)
𝑦 𝑛 =∑ ℎ 𝑘 𝑥 𝑛−𝑘 = ℎ 𝑛 ⊕ 𝑥(𝑛) ℎ(𝑛)
DTFT
𝑌 𝑒 =𝐻 𝑒 𝑋(𝑒 ) 𝑦(𝑛) = ℎ(𝑛) ∗ 𝑥(𝑛) linear
convolution
FD sampling: 𝑁 ≥ 𝐿 + 𝑀 − 1 ?
𝑁-point circular
𝑌(𝑘) = 𝐻(𝑘)𝑋(𝑘) 𝑦 𝑛 = ℎ 𝑛 ⊕ 𝑥(𝑛)
DFT convolution
6
Radix-2 FFT Structure
3 stages x(0) V11(0) F1(0) X(0)
x(4) DFT(2) V11(1) F1(1) X(1)
x(0) x(0) x(0)
x(1) x(2) x(4) DFT(4) DFT(8)
x(2) V12(0) F1(2) X(2)
x(2) x(4) x(2) x(6) DFT(2) V12(1) F1(3) X(3)
x(3) x(6) x(6)
x(4) x(1) x(1) x(1) V21(0) F2(0) X(4)
x(5) x(3) x(5) x(5) DFT(2) V21(1) F2(1) X(5)
x(6) x(5) x(3)
DFT(4)
x(7) x(7) x(7) x(3) V22(0) F2(2) X(6)
x(7) DFT(2) V22(1) F2(3) X(7)
1st decimation 2nd
decimation
𝑊
𝑏 𝐴=𝑎−𝑊 𝑏
-1
7
Filtering of Long Sequence
• In real time applications with FIR filter, the length of input sequence is very long.
Time-domain vs. frequency-domain approach:
Linear vs. circular convolution
input data block: L
Overlap add method
input
1. Divide input sequence into blocks of length-𝐿 and append (𝑀 −
1)-zeros to each block to generate a block 𝑥 (𝑛) of length 𝑁. 𝑥 (𝑛)
(M-1)-zeros
2. Compute the output block in the frequency domain:
𝑥 (𝑛)
( )
𝑌 (𝑘) = 𝐻 𝑘 𝑋 (𝑘), 𝑘 = 0, 1, … , 𝑁 − 1 𝑦 (𝑛)
output 𝑦 (𝑛)
3. Construct the actual output, 𝑦(𝑛), in such a way that last (𝑀 − 1)-
𝑦 (𝑛)
samples from each output block overlapped and added to the first
(𝑀 − 1)-samples of the succeeding block. add (M-1)-samples
Filtering in Frequency-domain
• Overlap-add method
Computational complexity
2 log 𝑁 + 𝑁 = 𝑁 log 2𝑁 [CM/output block]
𝐻(𝑘)
𝑥 (𝑛) 𝑦 (𝑛)
ℎ(𝑛) 𝑥 𝑛 ↔ 𝑋 (𝑘) 𝑦 𝑛 ↔ 𝑌 (𝑘)
In this approach, the length of FIR filter, 𝑀, is fixed. We can choose input block size 𝐿 to
minimize the computational complexity per each output sample.
( )
𝑐 𝜈 = = [CM/sample]
8
Filtering in Time- vs. Frequency Domain
Suppose an FIR filter with impulse response, ℎ(𝑛), 0 ≤ 𝑛 ≤ 𝑀 − 1
• Filtering in time-domain
Convolution
𝑦 𝑛 =∑ ℎ 𝑘 𝑥(𝑛 − 𝑘)
Complexity: 𝑀-[RM/sample]
• Filtering in frequency-domain
( )
𝑐 𝜈 = = [CM/sample]
We can choose the block size 𝐿.
• Rule of thumb
Time-domain filtering for short FIR filter
Frequency-domain filtering for long FIR filter
Digital Signal Processing with MATLAB: IDEC 2023 17
• Related Topics
Down-sampling and decimator
Up-sampling and interpolator
Time-frequency analysis
Filter bank
Wavelet
9
Down-sampling and Decimator
• Case
An analog signal, bandlimited to frequency 𝐹 , is sampled with a sampling frequency 𝐹 =
4𝐹 (twice oversampling).
𝑥(𝑛) has redundant samples. Downsampling
TD Sampling ↓2 𝑥 (𝑛)
𝑥 (𝑡) 𝑥(𝑛) 𝐹 = 2𝐹
𝐹 𝐹 = 4𝐹
𝑥 𝑛 = ↓ 2 𝑥 𝑛 = 𝑥(2𝑛)
𝑥 (𝑛) takes only even-samples of 𝑥(𝑛).
It is a discrete-time sampling which reduces the original sampling frequency by half.
Reduced sampling frequency may cause aliasing.
𝑥 (1) 𝑥(3) 𝑥 (2)
𝑥(2) 𝑥(4)
𝑥(1)
𝑥 (0) 2𝑇
𝑥(0) 𝑥 (𝑡)
𝑡
Digital Signal Processing with MATLAB: IDEC 2023 0 𝑇 2𝑇 3𝑇 4𝑇 5𝑇 19
Decimator
• Down-sampling by 𝑎
Let 𝑥 𝑛 be discrete-time signal of 𝑥 (𝑡) with the Nyquist sampling frequency 𝐹 .
𝑥 𝑛 = ↓ 𝑎 𝑥 𝑛 = 𝑥(𝑎𝑛)
Down-sampling by a factor-𝑎 (integer 𝑎) reduces the sampling frequency by a factor of 𝑎.
𝑥 (𝑛) could be regarded as the discrete-time signal, sampled from 𝑥 (𝑡) with sampling
frequency 𝐹 /𝑎.
10
Up-sampling
• Case
A DT signal with corresponding sampling frequency 𝐹 and DAC (digital-to-analog converter)
working with sampling frequency 2𝐹 .
𝑥(𝑛) should be upsampled to accommodate the sampling frequency of the DAC.
𝑥 , 𝑛 𝑒𝑣𝑒𝑛
𝑥 𝑛 = ↑2 𝑥 𝑛 =
0, 𝑛 𝑜𝑑𝑑
The upsampled sequence 𝑥 𝑛 is obtained by inserting a zero between adjacent
samples of 𝑥(𝑛).
These zero-filled data should be modified by interpolation (lowpass filtering).
Interpolator
• Upsampling by 𝑏
𝑥 𝑛 = ↑𝑏 𝑥 𝑛
𝑋 𝑧 =∑ 𝑥 𝑛 𝑧 =∑ 𝑥 𝑛/𝑏 𝑧 = ∑ 𝑥 𝑘 𝑧 = 𝑋(𝑧 )
𝑋 𝑒 = 𝑋(𝑒 ) … Compression of spectrum
𝑋(𝑒 ) 𝑋 (𝑒 ) 𝑋(𝑒 ( ))
1
𝜔 𝜔
11
Digital Filterbank
• Collection of digital filters with a common input and output.
Analysis filter bank consists of 𝑀-filters, 𝐻 (𝑧), which splits input signal into 𝑀-subband
signals, 𝑥 (𝑛).
Synthesis filter bank consists of 𝑀-filters, 𝐹 (𝑧), which combine 𝑀-subband signals, 𝑥 (𝑛)
into a single one.
Filter Design
• Filter Types
FIR vs. IIR
𝐻 𝑧 =𝑏 +𝑏 𝑧 +⋯+𝑏 𝑧
⋯
𝐻 𝑧 = =
⋯
12
Filter Design: Specifications
• Specifications in low pass filter
Passband edge frequency, 𝜔
Stopband edge frequency, 𝜔
Passband ripple, 𝐴 [dB]
Stopband attenuation, 𝐴 [dB]
• Filter Specification
Boundary frequencies and Attenuations
• Design Algorithm
Windowing, Equiripple, Least-squares, …
Analog prototyping
• Implementation
Construct ‘Filter implementation object’
13
FIR Filter Design in MATLAB
• Design Methods
Windowing: fir1, fir2, kaiserord
Approximating the ideal frequency selective filter
Equiripple: firpm
Min-max approach
Least squares: firls
• Tools in MATLAB
‘designfilt’ function in command line / ‘filterDesigner’ App (Signal Processing Toolbox)
‘fvtool’ function in command line
‘fdesign’ function / ‘filterBuilder’ App (with DSP System Toolbox)
ℇ = ∫ 𝐻 𝑒 −𝐻 𝑒 𝑑𝜔
Min-max error
ℇ = max 𝐻 𝑒 −𝐻 𝑒
∈
14
FIR Filter Design by Windowing
• Given an ideal filter, ℎ (𝑛), with infinite length, design a causal and stable filter, ℎ(𝑛), by
choosing only a portion of ℎ (𝑛): Windowing
ℎ 𝑛 = ℎ 𝑛 𝑤(𝑛), 𝑤(𝑛) … window
𝐻 𝑒 =𝐻 𝑒 ∗ 𝑊(𝑒 ) … Convolution in frequency domain
• Effects of Convolution
Spreading
Smoothing
Ringing
Both spreading and smoothing depend on the mainlobe width of 𝑊(𝑒 ).
Ringing depends on the levels of the sidelobes.
Windows
• Rectangular Window
𝑤 𝑛 = 𝑢 𝑛 − 𝑢(𝑛 − 𝑀)
/ /
𝑊 𝑒 = 𝑒
/
15
IIR Filter Design in MATLAB
• Analog Prototyping
Butterworth, Chebyshev I & II, Elliptic filters
Bi-linear Transform: 𝑠 =
Examples:
[b, a] = butter(5, 0.4); % 5th order Butterworth LPF with cutoff frequency 𝜔 = 0.4𝜋
[b, a] = cheby1(4, 1, [0.4 0.1]) % 4th order Chebyshev Type-I BPF
Spectrum Analysis
• Spectral Estimation (Frequency Domain Analysis)
Estimate the strength of different frequency components (magnitude or power spectrum) of
a time-domain signal
16
Spectrum Analysis: Resolution
• DFT 𝑋(𝑘) are composed of samples of DTFT 𝑋(𝑒 )
𝑋 𝑘 =𝑋 𝑒 /
, where 𝑁 … DFT size
If 𝑥(𝑛) has spectral components at 𝜔 and 𝜔 , then they could not be resolved, if |𝜔 −
𝜔 |≤ .
17
Resolution of Two-tone Signal
• Example: Two-tone signal, 𝑥 𝑛 = 𝐴 cos(𝜔 𝑛) + 𝐴 cos(𝜔 𝑛)
If 𝜔 − 𝜔 < or 𝑓 − 𝑓 < , then two adjacent frequency components 𝑊 (𝑒 ( ± ) )
and 𝑊 (𝑒 ( ± ) ) overlap and we cannot resolve two frequency terms from 𝑋 𝑒 .
If magnitudes 𝐴 , − 13 > 𝐴 , and two frequency terms are close enough, the mainlobe
of 𝑊 (𝑒 ( ) ) will be merged into the 1st sidelobe of 𝑊 (𝑒 ( ) ).
Δ𝜔 = 𝜋/𝐿 Δ𝜔 = 3𝜋/𝐿
𝐴 =𝐴 =1 𝐴 = 2; 𝐴 = 1
18
Spectrum Analysis: Doppler Frequency
Assume the target range at time 𝑡 = 𝑡 is 𝑅 :
t=t0
Range: 𝑅(𝑡) = 𝑅 − 𝑣(𝑡 − 𝑡 ), where 𝑣 is the target speed.
Round trip delay: 𝜙(𝑡) = 2𝑅(𝑡)/𝑐
R0
Received signal v
𝑥 (𝑡) = 𝑥 (𝑡 − 𝜙(𝑡)) = 𝑥 (𝛾𝑡 − 𝜙 ),
where 𝑡 − 𝜙(𝑡) = 𝑡 − (𝑅 − 𝑣𝑡 + 𝑣𝑡 ) = 1 + 𝑡 − (𝑅 + 𝑣𝑡 ) = 𝛾𝑡 − 𝜙
↔ 𝑋 (𝑗Ω) = 𝑋 𝑒 /
𝑏
𝑥 𝑎𝑡 − 𝑏 = 𝑥 𝑎 𝑡 −
𝑎
• Example: 𝑥 (𝑡) = 𝑎 𝑡 cosΩ 𝑡 1 𝑗Ω /
𝑥 (𝑡) = 𝑎 𝛾𝑡 cosΩ 𝛾𝑡 (assuming 𝜙 = 0) ↔ 𝑋 𝑒
𝑎 𝑎
𝑋 𝑗Ω = 𝐹 𝑎 𝛾𝑡 ∗ 𝜋 𝛿 Ω − 𝛾Ω + 𝛿 Ω + 𝛾Ω
= 𝐴 𝑗 −Ω +𝐴 𝑗 +Ω
• Parametric methods
Yule-Walker method for AR-model
𝑃 𝑓 = ⋅ /
∑
Burg, covariance, and modified covariance methods
• Subspace approaches
MUSIC algorithm
ESPRIT algorithm
19
Spectrum Analysis of Random Signal
• 𝑥(𝑛) … stationary random process
Autocorrelation function, 𝛾 = 𝐸 𝑥 𝑛 𝑥∗ 𝑛 + = 𝐸 𝑥∗ 𝑛 𝑥 𝑛 −
Power spectral density (PSD), Γ 𝑓 = ℱ 𝛾
20
PSD Estimation: Parametric Methods
• Signal Generation Model
Model the signal as an output of an LTI system to a white noise input 𝑤(𝑛) 𝑥(𝑛)
ARMA(𝑝, 𝑞) model 𝐻(𝑧)
∑
𝐻 𝑧 = = ∑
Applications
Data with dominant spectral peaks
Speech signal
21
Time-Frequency Analysis
• Spectral analysis for time-varying
(non-stationary)
Short-time Fourier Transform (STFT)
Audio signal processing
Sensor array processing
Digital communication with
frequency hopping
Wavelet Transform
Time-bandwidth product
Continuous WT (scalogram)
Multiresolution
STFT
• Short-time Fourier transform
𝑋 𝑒 = 𝐷𝑇𝐹𝑇 𝑥 𝑛 𝑤 𝑛 − 𝑚𝐿 , 𝑤(𝑛) … window of length-𝐿
DFT of a signal generated by a sliding (possibly with overlap) window
• Spectrogram
Plot of 𝑋 𝑒 vs. time.
22
Wavelet Transform
• Time-frequency resolution
We want to improve time resolution (narrow window) for signals with high frequency,
whereas to improve frequency resolution (wide window) for signals with low-frequency.
Variation of window size leads to the introduction of scale-parameter.
• Continuous wavelet transform
𝑊 𝑎, 𝑏 = ∫𝑥 𝑡 𝜓 𝑑𝑡, where 𝑎 … scale, 𝑏 … shift, and 𝜓(⋅) … mother wavelet
function
𝑎∝
𝑎 = 2, 𝜓 … expansion of 𝜓 𝑡
𝑎 = 1/2, 𝜓 2𝑡 … compression of 𝜓 𝑡
• Discrete wavelet transform
Choose 𝑎 = 2 and 𝑏 = 𝑘𝑎: 𝜓 = 𝜓(2 − 𝑘)
• Applications
Bio-medical signals including ECG and EEG
Deep learning
23
Discrete Wavelet Transform
• DWT and Filterbank
DWT can be implemented using decimated filterbanks.
Dilation and wavelet equations
Refer to cwtfilterbank command in MATLAB
24
Realization of Digital Filters
• A digital system requires a processor to handle data.
Embedded processor General purpose processor
- Runs only limited applications known - Intended to run a general set of
at design time applications
- Fixed run-time constraints - Faster is better, yet not critical
- Emphasis on power consumption, - Emphasis on speed and cost
cost, and speed
- Dedicated for a single program and - Requires complex and multi-purpose
requires simple OS OS
Microprocessors, DSP chips, ARM, … Pentium, Alpha, SPARC
Resolution: Δ = 2 2 =2
Tradeoff between range and resolution
25
Floating-point vs. Fixed-point Devices
• Fixed-point
Programmer must select a number format and be conscious of it throughout all programming.
Numbers should be scaled down before calculation and then scaled back afterward.
It is faster in computing time.
Devices are cheaper, smaller and thus less power consuming.
Speech recognition, digital camera, …
• Floating-point
Floating-point device offers a convenient and natural representation for decimal values, so
that no scaling is required. Much ease to program.
It usually represent numbers with many more bits than do fixed-point devices: More bits to
deal, more time consuming.
Audio and image compression, sonar and radar, robotics, biomedical applications, …
Fixed-point Processor
• In fixed-point digital signal processors, numbers have only fractions: i.e., all numbers are
less than unity in magnitude.
All numbers should be scaled: 𝑥 = 2 𝑥 with 𝑥 ≤1
26
Fixed-point Arithmetic
• Addition and multiplication
0.1101 + 0.1001 = 01.0110 ↔ 0.8125 + 0.5625 = 1.3750
0.1101 × 0.1001 = 0.01110101 ↔ 0.8125 × 0.5625 = 0.45703125
Adding two (𝐵 + 1)-bit numbers results in a (𝐵 + 2)-bit number: Additional bit appear
before the binary point. → Overflow error
Multiplying two (𝐵 + 1)-bit numbers leads to a (2𝐵 + 1)-bit number: Extra 𝐵-bits
appear a er the binary point. → Granular error
The most effective way to prevent overflow is proper scaling of numbers to control their
dynamic range and use double length accumulators to store intermediate results.
27
Implementation Structures
• Example: 𝑦 𝑛 + 𝑎 𝑦 𝑛 − 1 = 𝑏 𝑥 𝑛 + 𝑏 𝑥(𝑛 − 1)
𝐻 𝑧 = = 𝐻 𝑧 𝐻 (𝑧), where 𝐻 (𝑧) = and 𝐻 𝑧 = 𝑏 + 𝑏 𝑧
𝑧 𝑧 𝑧
−𝑎 𝑏 𝑏 −𝑎
z-1 z-1
-a1,1 b1,1 -a2,1 b2,1
z-1 z-1
-a1,2 b1,2 -a2,2 b2,2
Digital Signal Processing with MATLAB: IDEC 2023 Cascade form structure (𝐾 = 2) 56
28
Implementation of IIR Filters: Example
. . .
𝐻(𝑧) =
. . . .
. . .
= 10
. . . .
. . . .
= −8.83 + +
. . . .
x(n) 10 y(n)
z-1
2.54 1 x(n) 10 1 1 y(n)
z-1 z-1 z-1
-3.24 0.9 1.1786 0.1 1.3614 0
z-1 z-1 z-1
2.06 0.81 -.7246 -.7199 -.9109 .8099
z-1
-0.66 -5.83 Cascade form
Cascade form
Digital Signal Processing with MATLAB: IDEC 2023 57
29
Some Implementation Issues
• SOS Cascade Structure
Pairing and ordering : Jackson’s rule
Pair the pole which is closest to the unit circle with the zero with which is nearest to it. Repeat this
process until all poles and zeros have been paired.
Poles close to the unit circle provide gain and as a result they can cause overflow. On the
other hand, zeros provide attenuation and can be used to counter the gain of the poles.
Order SOS’s obtained according to the closeness of their poles to the unit circle.
• Rule of thumbs in realization
For FIR filters, each bit of coefficient word length provides approximately 5 [dB] of stop band
attenuation: Minimum 10-bits to represent coefficients.
For a fixed-point implementation, the cascaded SOS (or biquadratic) structures work better
than direct form structures.
The cascade structure is preferred to the parallel structure:
Total output noise power of the parallel form is about the same as that of the cascade form with
best pairing and ordering.
For sections with zeros on the unit circle, the cascade structure requires fewer multiplications.
Cascade structure offers more control on the locations of the filter zeros.
target
30
Phased Array Systems: Receiver Array
• Temporal processing
Improve SNR using temporal integration and matched filtering
Range estimate
Receiver array
Doppler estimate
• Spatial processing
Spatial filtering of incoming waveform Temporal Spatial Space-time
Processing Processing Processing
DOA (Direction of arrival) estimate
• Space-time processing
Joint angle-Doppler measurements of incident waveforms
Distinguish moving target from stationary targets
Topics in Radar
Receiver array
• Detection and Estimation
Target detection
Estimation of Matched Space-time
DOA Filtering Processing
Target range
Target position (DOA)
Target speed Time-varying Pulse
Beamforming Gain Doppler
Range
Detection
Digital Signal Processing with MATLAB: IDEC 2023 62
31
Research Areas in Radar
• Radar waveform
Range resolution and detection probability
Matched filter
• Radiator and collector of waveforms
Array
Beamforming
• Estimation
Target range
Angle of arrival
Target speed
• Resolution
Range/angular/speed (Doppler) resolutions
Range Estimation
• Measure time delay between radar’s transmitted and received signal.
𝑅= , 𝑅 … range [m], 𝑇 … round-trip propagation time [sec]
Ambiguity occurs when a target produces an echo later than the pulse repetition interval,
𝑇 .
Zone-1 (maximum un-ambiguous) target range: 0, 𝑇 [sec] ⇔ 0, [m]
Maximum range to detect a target without ambiguity
𝑅 = 𝑠 × 𝑐 𝑚/𝑠 = [𝑚]
Range resolution:
Δ𝑅 ≅ [m]
Two targets must be separated enough.
Shorter pulse width, 𝜏 ⇒ wider B/W
⇒ better range resolution
32
Range and Velocity Estimation
• Trade-off between range and velocity estimation
Low PRF: range ambiguity ↓, Doppler ambiguity ↑.
Longer interval between pulses, narrower spectral line separation, and enhanced longer
range (could be used in detection mode)
High PRF: range ambiguity ↑, Doppler ambiguity ↓
In terminal mode (short range with target locking)
• Solution:
Pulse compression using modulation can increase B/W without increasing pulse width.
Radar Waveforms
• Rectangular pulse waveform
1, 0 ≤ 𝑡 ≤ 𝜏
𝑥 𝑡 = 𝑎 𝑡 ⋅ sin 𝜔 𝑡, 𝑎 𝑡 =
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
The longer the duration of a transmitted, the more energy on the pulse and better target
detection capability.
The shorter the duration of the pulse, the better the range resolution of the radar.
For a rectangular pulse, the range resolution of the radar and the target detection
capability are coupled in an inverse relationship.
• Pulse compression technique
Pulse compression techniques enable to decouple the duration of the pulse from its energy
by effectively creating different durations for the transmitted pulse and processed echo.
Linear frequency modulated pulse waveform
Stepped FM pulse modulation
Phase-coded waveforms
• FMCW waveforms
33
Radar Waveforms
• Linear FM pulse waveforms
𝑥 𝑡 =𝑎 𝑡 ⋅𝑒 , 𝛽 … bandwidth and 𝜏 … pulse duration
Instantaneous frequency, = 𝑡
Time-bandwidth product, 𝛽𝜏 ≥ 1
/
• Maximum range: 𝑅 =
⋅ _
Receiver input noise power, 𝑁 = 𝑘𝑇 𝐵, where 𝐵 … receiver operating bandwidth
Receiver noise figure, 𝐹 = , where 𝑆𝑁𝑅 =
𝑆 = 𝑁 ⋅ 𝐹 ⋅ 𝑆𝑁𝑅 or 𝑆 = 𝑁 ⋅ 𝐹 ⋅ 𝑆𝑁𝑅 _
34
Uniform Linear Array
• Plane wave model
Far field propagation model: Signal magnitude along a plane normal to the direction of
propagation is constant.
• Received signal at mth sensor
𝑔 𝑡: 𝜃 = ∑ 𝑦 (𝑡) = ∑ 𝑥 𝑡 − 𝑚𝑑
𝐺 𝑗𝜔: 𝜃 = ∑ 𝑒 𝑋(𝑗𝜔) = 𝑊 𝑗𝜔: 𝜃 𝑋 𝑗𝜔 θ
⋅ y
where 𝑎 = [sec], and 𝑚+1 𝑚 𝑚−1
/ / 𝑑
𝑊 𝑗𝜔: 𝜃 = ∑ 𝑒 = 𝑒
/
… Beam pattern
Digital Signal Processing with MATLAB: IDEC 2023 69
• Snapshot at 𝑡 = 𝑡
1
𝑦(0) 1
𝑦(1) exp −𝑗2𝜋
𝒚= =A =A 𝑒 = 𝐴𝒂𝒔 (𝜃)
⋮ ⋮ ⋮
( ) 𝑒 ( )
𝑦(𝑁 − 1) exp −𝑗2𝜋
𝑎 = 2𝜋𝑑 sin 𝜃 /𝜆 (spatial frequency), − 2𝜋𝑑/𝜆 ≤ 𝑎𝜃 ≤ 2𝜋𝑑/𝜆 (or − 𝜋 ≤ 𝑎𝜃 ≤ 𝜋,
when 𝑑 = 𝜆/2)
𝒂 (𝜃) … spatial steering vector, 𝜃 … AOA (angle of arrival), and 𝐴 = 𝑒 .
35
Beamforming
• 𝑔 𝜃 = ℎ 𝑦 0 + ℎ 𝑦 1 +⋯+ ℎ 𝑦(𝑁 − 1) = 𝒉 𝒚
• Spatial equivalent of frequency filtering
All beamformers are designed to emphasize signals coming from some directions
and suppress signals and noise arriving from other directions.
• Conventional (data independent) beamformer
Weights and parameters define a fixed beam pattern, independently to the array
input data.
The weights are chosen to produce a specified array response to the signals and
interference in the environment.
A signal arriving at an array has different times of arrival at each sensor, causing time
delays on each sensor that is a linear function of distance along the array.
Delay-and-sum beamforming compensates for these delays by applying a reverse delay
to each sensor: If the time delay is accurately computed, the signals from each sensor
add constructively.
Adaptive Beamformer
• Adaptive (data-dependent) beamformer
Optimal beamformers choose weights that are determined by optimizing some quantity.
36
Detection: Matched Filter
• Objective: Maximize the output SNR at time 𝑡 = 𝑡 , when 𝑤(𝑡) is a AWGN.
Matched filter, 𝐻(𝑒 ) = 𝑋 ∗ 𝑒 𝑒 ↔ ℎ 𝑡 = 𝑥 ∗ (𝑡 − 𝑡)
Output of matched filter
𝑦 𝑡 =ℎ 𝑡 ∗𝑥 𝑡 =∫ 𝑥 𝛼 𝑥 ∗ 𝛼 + 𝑇 − 𝑡 𝑑𝛼
Auto-correlation 𝑅 (𝜏) of 𝑥 𝑡 at lag 𝜏 = 𝑡 − 𝑡
antenna rx
signal rcvr output
ℎ(𝑡)
𝑥(𝑡) + 𝑤(𝑡) 𝑦(𝑡)
Detection: ROC
• Binary decision problem
Two types errors in binary decision problem:
Decide 𝑑 , when 𝑚 is true (target absent): False alarm probability, 𝑝 𝑑 𝑚
Decide 𝑑 , when 𝑚 is true (target exist): Miss probability, 𝑝 𝑑 𝑚
Detection probability, 𝑝(𝑑 |𝑚 )
37
Speed Estimation
• Doppler frequency
• Doppler estimation is a spectrum estimation process:
First, generate the Doppler spectrum from the received
signal
Doppler processing processes the data across the Radar data cube
pulses (slow time): If we are using 𝑁-pulses, there are
𝑁-samples available for Doppler processing.
There is one sample from each pulse. ⇒ Sampling
frequency for the Doppler samples is PRF.
The maximum un-ambiguous Doppler shift a
pulse radar can detect is half of its PRF. This also
translates to the maximum un-ambiguous speed
a radar system can detect.
The number of pulses also determines the
resolution in the Doppler spectrum, which
determines the resolution of speed estimates.
38