Main Content

Scanning Radar Mode Configuration

This example shows you how to model different radar scan modes using the fusionRadarSensor. This example shows how to configure the fusionRadarSensor for several commonly used radar scan modes. With this model, you can simulate radars which mechanically scan, electronically scan, and which use both mechanical and electronic scanning. The scan limits in azimuth and elevation are configurable for both mechanical and electronic scan modes.

Mechanical Rotator

360 Degree Azimuth Scan

360 degree azimuth scan is a mode commonly found on both ground and airborne radars. This mode provides 360 degree surveillance by mechanically scanning the radar's antenna in azimuth. In this mode, radars typically employ a fan beam, which has a narrow field of view in azimuth, but covers a wide elevation span. These radars provide accurate range and azimuth measurements, but typically do not report elevation for the detected targets. A common example of a 360 degree azimuth scan radar is the airport surveillance radar.

Use the function helperScanRadarModesExample to create a trackingScenario with a platform to mount the radar and three targets. This function also sets up a theaterPlot to display the locations of the targets, the beam and boresight position for the radar, and the detections generated by the radar.

You can learn more about using trackingScenario and theaterPlot from the Introduction to Tracking Scenario and Simulating Sensor Detections example.

% Initialize trackingScenario for simulation and theaterPlot for
% visualization
ts = trackingScenario;
[platform,fig] = helperScanRadarModesExample('Setup tracking scenario',ts);

% Set random seed for repeatable results
rng(2018)

Create a radar that mechanically rotates its antenna 360 degrees in azimuth. Mount it 15 meters above the platform with a yaw of -135 degrees from the platform's axes. Increase the azimuth field of view for better visibility in the displayed figures.

% Create a 360 degree mechanically rotating radar
radar = fusionRadarSensor(1,'rotator');

% Locate the radar 15 meters above the platform
radar.MountingLocation = [0 0 -15];

% Rotate the radar so that it is yawed -135 degrees from the platform's axes
radar.MountingAngles(1) = -135;

% Set the radar's azimuth field of view to 5 degrees to display larger beams
radar.FieldOfView(1) = 5;

% Display configured radar
radar
radar = 

  fusionRadarSensor with properties:

              SensorIndex: 1
               UpdateRate: 1
            DetectionMode: 'Monostatic'
                 ScanMode: 'Mechanical'
    InterferenceInputPort: 0
       EmissionsInputPort: 0

         MountingLocation: [0 0 -15]
           MountingAngles: [-135 0 0]

              FieldOfView: [5 10.0000]
                LookAngle: [0 0]
              RangeLimits: [0 100000]

     DetectionProbability: 0.9000
           FalseAlarmRate: 1.0000e-06
           ReferenceRange: 100000

       TargetReportFormat: 'Clustered detections'

  Use get to show all properties

Configure the radar to mechanically scan at a rate of 2 rpm. In this mode, the radar schedules beams at each dwell that are spaced by the radar's azimuthal field of view. The radar's update rate is then computed from the desired scan rate and its azimuthal field of view.

rpm = 2;
fov = radar.FieldOfView;
scanrate = rpm*360/60;          % deg/s
updaterate = scanrate/fov(1)    % Hz
radar.UpdateRate = updaterate;
updaterate =

    2.4000

Use trackingScenario to simulate the motion of the targets in the scenario and generate detections using the mechanically rotating radar model. helperScanRadarModesExample is used to update the theaterPlot with the platform positions, radar beam and boresight location, and detections generated at each step of the simulation.

% Configure trackingScenario to advance at the radar's update rate.
ts.UpdateRate = radar.UpdateRate;

% Run simulation
figure(fig);
title('360 Degree Azimuth Scan');
while advance(ts) && ishghandle(fig)

    % Current simulation time
    simTime = ts.SimulationTime;

    % Current target positions
    targets = targetPoses(platform);

    % Generate target detections at current scan position
    dets = radar(targets,simTime);

    % Update display
    helperScanRadarModesExample('Update display',ts,platform,radar,dets);

    % Take a snapshot of detection on inbound target
    takeSnapshot = simTime> 5 && any(cellfun(@(d)d.ObjectAttributes{1}.TargetIndex,dets)==2);
    snapped = helperScanRadarModesExample('Snapshot',fig,takeSnapshot);
    if snapped
        close(fig);
    end
end

The preceding figures show the detection of the inbound target in 3-D and 2-D views. The inbound target is detected by the radar when its beam sweeps across its position. The radar's boresight is shown as a black, dotted line. The radar's current beam is shown as a blue, dashed line. The history of beam and boresight positions are shown in gray scale, with the more recent positions shown as black and the older positions fading to white.

360 Degree Azimuth Scan with Tilted Elevation Coverage

In the preceding section, the boresight of the radar's antenna (black, dotted line) was constrained to lie in the horizontal plane, resulting in half of the radar's beam directed below the horizontal plane. If you are modeling a ground-based radar, you may want to tilt the radar's boresight upwards so that only the area above the ground is surveyed by the radar. Conversely, for an airborne platform, you may desire to point the radar's beam downwards, to survey targets at altitudes below the radar's platform.

Tilt the boresight of the radar antenna so that none of the elevation span of the beam lies below the ground. To do this, enable elevation for the radar and set the elevation mechanical scan limits to search from the ground up to the full elevation field of view. Then set the elevation field of view to be slightly greater than the elevation spanned by the mechanical scan limits so that no raster scanning is performed by the radar (raster scanning is addressed in the next section).

As previously mentioned, the radar schedules beams that are spaced by the azimuth and elevation field of view to cover the entire mechanical scan limits. By setting the elevation field of view to be slightly larger than the mechanical elevation scan limits, the radar places the beams in the middle of the mechanical scan limits.

This configuration was already set up when you created the radar using the 'rotator' configuration. All that you need to do is enable elevation.

release(radar);
radar.HasElevation = true;

% Confirm mechanical scan limits
radar.MechanicalAzimuthLimits
radar.MechanicalElevationLimits
ans =

     0   360


ans =

   -10     0

% Confirm elevation field of view is slightly larger than the elevation
% spanned by the scan limits so that raster scan is not performed
elSpan = diff(radar.MechanicalElevationLimits)
isLarger = radar.FieldOfView(2)>elSpan
elSpan =

    10


isLarger =

  logical

   1

Use the helperScanRadarModesExample function to run the simulation as was done by using a while-loop in the preceding section.

helperScanRadarModesExample('Run simulation',ts,platform,radar,2);

In the preceding figures, you observe that the antenna is tilted upwards so that no radar energy is directed below the ground. The entire radar beam (blue, dashed lines) lies above the ground.

360 Degree Azimuth with Elevation Raster

Sometimes a radar must perform 360 degree surveillance which covers a region greater than can be spanned by its elevation field of view. In this case, the radar mechanically rotates in azimuth and mechanically steps its antenna in elevation at the end of each 360 degree scan. This is a form of raster scanning where each raster bar is spaced by the radar's elevation field of view across the radar's elevation scan limits.

Setup the radar to scan a 10 degree region above the ground using a beam which spans 5 degrees in elevation. This produces 3 elevation raster bars at 0, -5, and -10 degrees elevation.

release(radar);
elFov = 5; % deg
radar.FieldOfView(2) = elFov;
radar.MechanicalElevationLimits = [-10 0]-elFov/2;

% Increase the scan rate of the radar to show 2 complete cycles of the
% raster scan pattern.
rpm = 5;
fov = radar.FieldOfView;
scanrate = rpm*360/60;          % deg/s
updaterate = scanrate/fov(1);   % Hz
radar.UpdateRate = updaterate;

% Run the simulation
helperScanRadarModesExample('Run simulation',ts,platform,radar,3);

The two preceding figures show the radar's beam positions. The figure on the left shows the beam positions as the beam steps down from the first to the second raster bar (notice the step in elevation in the middle of the figure). The figure on the right shows beam positions after the previous raster scan has completed. In this case, the radar is stepping up from the third raster bar to the second raster bar. The distance between each raster bar is the radar's elevation field of view.

Sector Scan

Mechanical Azimuth Sector Scan

Scanning a full 360 degree sector is time consuming. If the targets of interest are known to occupy a smaller region, a sector scan is typically used. By scanning over a smaller azimuth sector, a higher update rate is achieved for each target within the sector without increasing the mechanical scan rate of the radar.

Setup the radar to scan a 90 degree azimuth sector by setting the mechanical scan limits to span 45 degrees on either side of the radar's mounted orientation. Disable elevation to constrain the radar's beam to the horizontal plane.

Setup a fusionRadarSensor with this configuration by specifying the 'Sector' configuration for the radar.

radar = fusionRadarSensor(1,'Sector','MountingAngles',[-135 0 0],'MountingLocation',[0 0 -15]);

% Set the radar's azimuth field of view to 5 degrees to display larger beams
radar.FieldOfView(1) = 5;

% Set the update rate to show multiple cycles of the sector scan
rpm = 2;
fov = radar.FieldOfView;
scanrate = rpm*360/60;          % deg/s
updaterate = scanrate/fov(1);   % Hz
radar.UpdateRate = updaterate;

% Run the simulation
helperScanRadarModesExample('Run simulation',ts,platform,radar,4);

The top row of the figures shows the first scan of the azimuth sector, with the beam traversing the sector from the left to the right side of the figure. The bottom row shows the following scan of the azimuth sector, where the direction of the mechanical scan has reversed, traversing the figure from the right to the left.

Once again, half of the radar's beam lies below the horizontal ground plane. You can mechanically tilt the beam upward or downward using the same technique as you used in the preceding section 360 Degree Azimuth Scan with Tilted Elevation Coverage.

Mechanical Azimuth Sector Scan with Electronic Elevation Scan

Some radars scan mechanically in azimuth and electronically stack multiple beams in elevation at the antenna's boresight. This avoids the need to perform a raster scan to slowly search out the region of interest. Electronically steering and processing multiple beams in a single dwell position requires more complicated antenna hardware and signal processing algorithms, but provides higher update rates on each target in the sector.

Configure the radar to mechanically scan its beam in azimuth while processing a 10 degree elevation field of view by electronically stacking multiple elevation beams at each dwell position.

release(radar);

% Enable mechanical and electronic scanning
radar.ScanMode = 'Mechanical and electronic';

% Enable elevation scanning and measurements
radar.HasElevation = true;

% Elevation scanning is performed electronically. Set the electronic
% azimuth scan limits to zero to disable electronic azimuth scan. Set the
% mechanical elevation scan limits to zero to disable mechanical elevation
% scan
radar.ElectronicAzimuthLimits = [0 0];
radar.MechanicalElevationLimits = [0 0];

% Confirm that the elevation field of view is greater than the elevation
% spanned by the scan limits
elSpan = diff(radar.ElectronicElevationLimits)
isLarger = radar.FieldOfView(2)>elSpan
elSpan =

    10


isLarger =

  logical

   1

% Run the simulation
helperScanRadarModesExample('Run simulation',ts,platform,radar,5);

The preceding figures show the radar detecting the inbound target. Notice that the radar's boresight (black, dotted line) lies in the horizontal ground plane, but that the radar's beam is offset in elevation from its boresight. This offset of the beam position from the radar's boresight is accomplished by electronically steering beams in elevation.

Electronic Azimuth Sector Scan

The azimuth sector can be surveyed using electronic scanning as well. Electronically scan the same azimuth sector by creating a fusionRadarSensor using the 'Sector' scan configuration with its scan mode set to 'Electronic' instead of 'Mechanical'. Enable elevation so that the region above the ground is scanned by stacking beams in elevation to span the entire elevation scan limits.

radar = fusionRadarSensor(1,'Sector','ScanMode','Electronic','HasElevation',true, ...
    'MountingAngles',[-135 0 0],'MountingLocation',[0 0 -15]);

% Set update rate to show multiple cycles of the raster scan pattern
radar.UpdateRate = updaterate;

% Set the radar's azimuth field of view to 5 degrees to display larger beams
radar.FieldOfView(1) = 5;

% Run the simulation
helperScanRadarModesExample('Run simulation',ts,platform,radar,6);

The preceding figures show that electronic sector scans always scan in the same direction (in this case, from the left side of the figure to the right side of the figure). Unlike mechanical scanning, where the next beam position is constrained by the antenna's current mechanical position, electronic scanning can instantaneously move the beams within the scanned sector.

Raster Scan

Mechanical Raster Scan

The radar can be easily configured to execute a mechanical raster scan pattern as follows.

radar = fusionRadarSensor(1,'Raster','MountingAngles', [-135 0 0], 'MountingLocation', [0 0 -15]);

% Set update rate to show multiple cycles of the raster scan pattern
radar.UpdateRate = updaterate;

% Set the radar's azimuth field of view to 5 degrees to display larger beams
radar.FieldOfView(1) = 5;

% Run the simulation
helperScanRadarModesExample('Run simulation',ts,platform,radar,7);

The preceding figures show the radar's beam position along each of the radar's 3 elevation raster scan bars. At the end of each azimuth scan, the radar steps in elevation by its field of view and reverses the direction of its azimuth scan. When an elevation scan limit is reached, the radar begins a new raster scan by reversing the direction in which it steps the beams in elevation.

You can use this configuration as a starting point and adjust the mechanical scan limits and field of view to match the scan pattern for the radar you wish to model.

Electronic Raster Scan

You can also configure the radar to perform an electronic raster scan pattern. Electronic raster scan patterns immediately repeat the same scan sequence after each scan, but a mechanical raster reverses its scan sequence to return the antenna's mechanical position back to its origin.

Configure the radar to perform an electronic raster scan by setting its scan mode to 'Electronic'.

radar = fusionRadarSensor(1,'Raster','ScanMode','Electronic','MountingAngles',[-135 0 0],'MountingLocation',[0 0 -15]);

% Set update rate to show multiple cycles of the raster scan pattern
radar.UpdateRate = updaterate;

% Set the radar's azimuth field of view to 5 degrees to display larger beams
radar.FieldOfView(1) = 5;

% Run the simulation
helperScanRadarModesExample('Run simulation',ts,platform,radar,8);

The preceding figures show the radar's beam position along each of the radar's 3 elevation raster scan bars. At the end of each azimuth scan, the radar steps in elevation by its field of view and continues scanning in azimuth in the same direction as the previous scan. When an elevation scan limit is reached, the radar repeats the same sequence of raster scan positions. With electronic scanning, the radar can instantaneously return to the beginning of the scan pattern and is not constrained by the current mechanical position of the radar.

You can use this configuration as a starting point and adjust the electronic scan limits and field of view to match the scan pattern for the radar you wish to model.

Summary

This example shows you how to model many common scan patterns using the fusionRadarSensor. This model provides presets that enable you to quickly configure the radar and make additional minor adjustments to the scan parameters to match the radar you are modeling.