|On this page…|
Radar systems that use frequency-modulated, continuous-wave (FMCW) waveforms are typically smaller and less expensive to manufacture than pulsed radar systems. FMCW waveforms can estimate the target range effectively, whereas the simplest continuous-wave waveforms cannot.
FMCW waveforms are common in automotive radar systems and ground-penetrating radar systems.
To create an FMCW waveform, use phased.FMCWWaveform. You can customize certain characteristics of the waveform, including:
Period and bandwidth of the FM sweep. These quantities can cycle through multiple values during your simulation.
Sweep shape. This shape can be sawtooth (up or down) or triangular.
phased.FMCWWaveform assumes that all frequency modulations are linear. For triangular sweeps, the slope of the down sweep is the opposite of the slope of the up sweep.
This example shows how to sample an FMCW waveform with a double triangular sweep in which the two sweeps use different slopes. The example also plots a spectrogram.
Create an FMCW waveform object in which the SweepTime and SweepBandwidth properties are vectors of length two. For each period, the waveform alternates between the pairs of corresponding sweep time and bandwidth values.
st = [1e-3 1.1e-3]; bw = [1e5 9e4]; h = phased.FMCWWaveform('SweepTime',st,... 'SweepBandwidth',bw,'SweepDirection','Triangle',... 'SweepInterval','Symmetric','SampleRate',2e5,... 'NumSweeps',4);
Compute samples from four sweeps (two periods). In a triangular sweep, each period consists of an up sweep and down sweep.
x = step(h);
Plot a spectrogram.
[S,F,T] = spectrogram(x,32,16,32,h.SampleRate); image(T,fftshift(F),fftshift(mag2db(abs(S)))) xlabel('Time'); ylabel('Frequency (Hz)');