Attitude Coverage

STK Pro, STK Premium (Air), STK Premium (Space), or STK Enterprise
You can obtain the necessary licenses for this training by contacting AGI Support at support@agi.com or 1-800-924-7244.

This lesson requires STK 12.9 or newer to complete it in its entirety.

The results of the tutorial may vary depending on the user settings and data enabled (online operations, terrain server, dynamic Earth data, etc.). It is acceptable to have different results.

Capabilities covered

This lesson covers the following capabilities of the Ansys Systems Tool Kit® (STK®) digital mission engineering software:

  • STK Pro
  • Attitude Coverage

Problem statement

A ship in the Western Pacific Ocean is equipped with an onboard sensor that needs to maintain access to as many GPS satellites as possible. The sensor needs to keep a boresight of ten degrees or more from the Sun to avoid performance degradation. You need to analyze GPS satellite coverage in various directions over a 24-hour analysis period to determine which direction is best to point the sensor.

Solution

Use the STK software's Attitude Coverage capability to determine the best direction to point the sensor by identifying the direction that tracks the highest minimum amount of satellites. That direction ensures you will track the most satellites during your 24-hour analysis period. Constrain the sensor to avoid the sun by at least ten degrees, which ensures it will not interfere with the sensor during the analysis period. Finally, use an attitude sphere centered on the ship and an attitude-dependent figure of merit to visualize the attitude coverage regions for situational awareness.

What you will learn

Upon completion of this tutorial, you will have a basic understanding of the following:

  • The attitude sphere
  • Solar exclusion angles
  • Attitude Coverage objects
  • Altitude Coverage Figures of Merit

Video guidance

Watch the following video. Then follow the steps below, which incorporate the systems and missions you work on (sample inputs provided).

Creating a new scenario

First, you must create a new STK Scenario and then build from there.

  1. Launch the STK application ().
  2. Click the Create a Scenario () in the Welcome to STK dialog box.
  3. Enter the following in the STK: New Scenario Wizard:
  4. Option Value
    Name Attitude_Cov
    Location Default
    Start 1 Oct 2025 07:00:00.000 UTCG
    Stop + 24 hrs
  5. Click OK when you finish.
  6. Click Save () when the scenario loads. STK creates a folder with the same name as your scenario for you.
  7. Verify the scenario name and location in the Save As dialog box.
  8. Click Save.

Save () often during this lesson!

Turning off streaming terrain

You will not use streaming terrain in this analysis, so you can turn off the Terrain Server.

  1. Right-click on Attitude_Cov () in the Object Browser.
  2. Select Properties ().
  3. Select the Basic - Terrain page.
  4. Clear the Use terrain server for analysis check box.
  5. Click OK to confirm your change and to close the Properties Browser.

Inserting a Ship object

A Ship object models the properties and behavior of a ship.

  1. Bring the Insert STK Objects tool () to the front.
  2. Select Ship () in the Select An Object To Be Inserted list.
  3. Select Insert Default () in the Select A Method list.
  4. Click Insert...
  5. Right-click on Ship1 () in the Object Browser.
  6. Select Rename in the shortcut menu.
  7. Rename Ship1 () Test_Ship.

Setting the ship's route

You can add a route to your ship so it moves as it interacts with the other objects in the scenario.

  1. Right-click on Test_Ship () in the Object Browser.
  2. Select Properties () in the shortcut menu.
  3. Select the Basic - Route page.
  4. Note the default propagator is GreatArc.
  5. Set the Reference to WGS84 in the Altitude Reference panel.
  6. Since you turned off streaming terrain, WGS84 is the central body's reference ellipsoid.

  7. Click Insert Pointtwice to add two separate route waypoints.
  8. Set the following options for waypoints one and two:
  9. Latitude Longitude
    19.00 deg 125.00 deg
    12.00 deg 140.00 deg
  10. Click Apply to confirm your change and to keep the Properties Browser open.

Adding an altitude sphere

An attitude sphere is a visual aid that you can add to the 3D Graphics and 3D Attitude Graphics windows. When combined with vector displays, the attitude sphere makes a powerful tool for displaying the object's attitude and for tracking attitude changes over time. You need to orient the attitude sphere so that zero (0) degrees longitude matches the ship's direction of travel. This can help later on when orienting the sensor to track the GPS satellites.

  1. Select the 3D Graphics - Attitude Sphere page.
  2. Select the Show check box in the Attitude Sphere panel.
  3. Set the Value to 2.0 in the Scale panel.
  4. Click Select... next to the Frame field to choose a coordinate frame for the attitude sphere.
  5. Select Body () in the Axes For: Test_Ship list when the Select Reference Axes dialog box opens.
  6. Click OK to confirm your change and to close the Select Reference Axes dialog box.
  7. Click Apply.

Adding a Sun vector

A Sun vector is useful in visualizing that a sensor attached to the ship that avoids the sun by at least ten degrees.

  1. Select the 3D Graphics - Vector page.
  2. Select the Sun Vector - Show check box in the Vectors tab.
  3. Locate the Common Options - Component Size panel.
  4. Enter 2.0 in the Scale field in the Component Size panel.
  5. Click OK.

Viewing the attitude sphere in the 3D Graphics window

View your attitude sphere in the 3D Graphics window.

  1. Bring the 3D Graphics window to the front.
  2. Right-click on Test_Ship () in the Object Browser.
  3. Select Zoom To in the shortcut menu.

Attitude Sphere

Attaching a sensor to the ship

A Sensor object models the field of view and other properties of a sensing device attached to another STK object.

Inserting a new Sensor object

Attach a sensor object to Test_Ship.

  1. Bring the Insert STK Objects tool () to the front.
  2. Insert a Sensor () object using the Insert Default () method.
  3. Select Test_Ship () in the Select Object dialog box.
  4. Click OK.
  5. Rename Sensor1 () Sensor_FOV.

Setting the sensor's field of view

A Simple Conic sensor pattern is defined by a simple cone angle. To define the simple cone, enter the Cone Half Angle.

  1. Open Sensor_FOV's () Properties ().
  2. Select the Basic - Definition page.
  3. Enter 90 deg in the Cone Half Angle field in the Simple Conic panel.
  4. Click Apply.

Setting the translucency of the sensor projection

Translucency can be adjusted from 0 to 100 percent, where 100 percent is completely invisible.

  1. Select the 3D Graphics - Attributes page.
  2. Enter 100 in the % Translucency field in the Projection panel. This is done to avoid the sensor cone in the 3D Graphics window, which would interfere with the display of the attitude sphere.
  3. Click Apply.

Adding a Sun constraint to the sensor

Sun constraints enable you to impose constraints based on the position of the Sun and Moon.

  1. Select the Constraints - Active page.
  2. Click Add new constraints () in the Active Constraints toolbar.
  3. Select Boresight - Solar Exclusion Angle in the Constraint Name list when the Select Constraints to Add dialog box opens.
  4. Click Add.
  5. Click Close to close the Select Constraints to Add dialog box.
  6. Use the default Solar Exclusion Angle of 10 degrees.
  7. This ensures that Sensor_FOV will ignore access to another object if it is within ten degrees of the Sun.

  8. Click OK.

Propagating the GPS satellites

Insert GPS satellites from the GPS Almanac. You can insert Satellite objects using orbital elements from GPS almanac files. The GPS Almanac is a set of data that every GPS satellite transmits, and it includes information about the state (health) of the entire GPS satellite constellation and coarse data on every satellite's orbit. You can insert an entire GPS constellation with one action by using the Load GPS Constellation method for a new Satellite object.

  1. Bring the Insert STK Objects tool () to the front.
  2. Insert a Satellite () object using the Load GPS Constellation () method.

Note that 31 separate GPS satellites and a Constellation object, GPSConstellation, have been loaded into your scenario.

Using the Attitude Coverage capability

The STK software's Attitude Coverage capability combines features of the Attitude and Coverage capabilities to enable you to analyze coverage in various directions over time, using several attitude-dependent figures of merit. Using Attitude Coverage, determine the most advantageous direction to point the sensor.

Adding the Attitude Coverage and Attitude Figure Of Merit objects to the Insert STK Objects tool

You can specify which objects appear in the Insert STK Objects tool. Some objects are not listed by default. Ensure that both the Attitude Coverage and Attitude Figure of Merit objects are available in the Insert STK Objects tool by editing the tool's preferences.

  1. Bring the Insert STK Objects tool () to the front.
  2. Click Edit Preferences....
  3. Select the Attitude Coverage check box in the Define Default Creation Methods panel when the Preferences dialog box opens.
  4. Select the Attitude Figure Of Merit check box.
  5. Click OK.

Inserting a new Attitude Coverage object

An Attitude Coverage object enables you to analyze coverage in various directions over time, using several attitude-dependent figures of merit.

  1. Insert an Attitude Coverage () object using the Insert Default () method.
  2. Select Test_Ship () in the Select Object dialog box.
  3. Click OK.
  4. Rename AttitudeCoverage1 () Sat_Cov.

Setting the point definition properties

In contrast to point definition in the STK Coverage capability, here you are defining the object pointing properties , which depend on the directions represented by points on the Attitude Coverage grid. That object must be a sensor, transmitter, receiver, or radar whose parent object is the one for which Attitude Coverage is being defined.

The basic properties of that object (such as a sensor's field of view), including its position at each time step in the coverage interval and any constraints imposed on it, determines the access to the selected assets. These properties are also taken into account in Figure of Merit computations.

  1. Open Sat_Cov's () Properties ().
  2. Select the Basic - Grid page.
  3. Set the following options in the Grid Area of Interest panel:
  4. Option Value
    Type Latitude Bounds
    Min. Latitude 5 deg
    Max. Latitude 90 deg

The Latitude Bounds option tells the STK application to create a grid between user-specified minimum and maximum horizontal boundaries. When the sphere is centered on an Earth-based object, you can use this option to exclude downward directions from consideration or to impose a minimum and maximum elevation angle constraint. In this case, you are only concerned when a satellite is 5 degrees above the horizon to 90 degrees above the ship.

Setting the point granularity

Control the resolution of your coverage analysis by specifying the angular distance between grid points in terms of degrees of latitude and longitude on the sphere. A finer resolution leads to more accurate results, but increases computation time. The STK application stretches grid points in longitude at high and low latitudes in an attempt to preserve the angular area associated with the grid point.

  1. Enter 10 deg in the Lat/Lon field in the Point Granularity panel.
  2. Click Apply.

Changing the attitude sphere's 3D Graphics attributes

You can control the display of the attitude coverage grid in the 3D Graphics windows. Make the grid points easier to view in the 3D Graphics window by updating the attitude grid's 3D Graphics attributes.

  1. Select the 3D Graphics - Attributes page.
  2. Change the Color to yellow in the Static Graphics panel.
  3. Set the Point Size to 4.
  4. Click Apply.

If you were doing this operationally, you would probably require a grid with more points. For the purposes of this lesson, the grid contains fewer points to keep the calculation time down.

Viewing the attitude coverage grid

View the Attitude Coverage grid in the 3D Graphics window.

  1. Bring the 3D Graphics window to the front.
  2. Mouse around in the 3D Graphics window to view the Attitude Coverage grid.

Grid Points

You can see the grid spans from 5 degrees to 90 degrees latitude every 10 degrees.

Adding grid constraints

Sensor_FOV has a 10-degree Solar Exclusion Angle constraint which needs to be applied to the grid.

  1. Return to Sat_Cov's () Properties ().
  2. Select the Basic - Grid page.
  3. Click Grid Constraint Options...in the Grid Definition panel.
  4. Select the Use Object Instance for Constraints check box in the Grid Point Access Options panel.
  5. Ensure Object Class shows Sensor.
  6. Select Test_Ship/Sensor_FOV
  7. Click OK.
  8. Click Apply.

Specifying the coverage assets

You can use the Assets properties page to specify the STK objects used to provide coverage. In this case, your assets are the entire constellation of GPS satellites.

  1. Select the Basic - Assets page.
  2. Select GPSConstellation () in the Assets list.
  3. Click Assign.
  4. Click OK.

Using the Compute Accesses tool

Your can use coverage to analyze accesses to an area with assigned assets and apply necessary limitations upon those accesses. The Compute Accesses tool enables you to compute accesses between the grid points and the assigned assets.

  1. Select Sat_Cov () in the Object Browser.
  2. Open the AttitudeCoverage menu.
  3. Select Compute Accesses.

Adding an Attitude Figure Of Merit object

Determine the best direction in which to point the sensor in order to maximize access from the sensor to the satellites in the constellation. Add an Attitude Figure Of Merit object to the Attitude Coverage object that will define the required quality of coverage.

  1. Insert an Attitude Figure Of Merit () object using the Insert Default () method.
  2. Select Sat_Cov () in the Select Object dialog box.
  3. Click OK.
  4. Rename AttitudeFigureOfMerit1 () NAsset.

Measuring the number of assets

N Asset Coverage measures the number of assets available simultaneously during coverage, where N is between zero and the total number of assets defined in the coverage definition. You want to examine the lowest number of satellites that you can track by pointing the sensor at various locations. By selecting the location with the highest minimum, you can maximize tracking of the satellites.

  1. Open NAsset's () Properties ().
  2. Select the Basic - Definition page.
  3. Set the following in the Definition panel:
  4. Option Value
    Type N Asset Coverage
    Compute Minimum
  5. Click Apply.

Generating a Grid Stats report

Generate a Grid Stats report to determine the highest minimum value. Use this number to create a graphical display of the results in the Attitude Sphere that you can visualize in the 3D Graphics window.

  1. Right-click on NAsset () in the Object Browser.
  2. Select Report & Graph Manager... () in the shortcut menu.
  3. Select the Grid Stats () report in the Installed Styles () folder when the Report & Graph Manager opens.
  4. Click Generate....
  5. Scroll to the bottom of the report and note the Maximum value (for example, 9 or 10).
  6. Close the Grid Stats report and the Report & Graph Manager.

Displaying coverage contours

You can display coverage contours on the attitude sphere for Attitude Coverage just as you can on the map and globe for traditional coverage.

  1. Return to NAsset's () Properties ().
  2. Select the 3D Graphics - Animation page.
  3. Clear the Show Animation Graphics check box.
  4. Click Apply.
  5. Select the 3D Graphics - Static page.
  6. Enter 30 in the % Translucency field.

Showing contours

You can specify how levels of coverage quality are displayed in both the 2D and 3D Graphics windows.

  1. Select the Show Contours option in the Display Metric panel.
  2. Set the following options in the Level Adding panel, using the minimum and maximum value from your Grid Stats report:
  3. Option Value
    Start 0
    Stop 9 or 10
    Step 1
  4. Click Add Levels.
  5. Set the following options in the Level Attributes panel:
  6. Option Value
    Color Method Color Ramp
    Start Color Red
    End Color Blue
  7. Click Apply.
  8. ClickLegend...
  9. Click OKto close NAsset's () Properties ().

Viewing the contours in the 3D Graphics window

You can view the contours in the 3D Graphics window.

  1. Bring the 3D Graphics window to the front.
  2. Expand the Static Legend for NAsset dialog box so you can see all the values.
  3. Use the mouse to zoom out until you can see the entire Attitude Sphere.
  4. Move the Static Legend for NAsset legend box so that you can see the attitude sphere.
  5. FOM CONTOURS

    The blue areas have the highest level of minimum coverage. The path in red shows a coverage level of zero (0). No GPS satellites will be visible to the sensor in the red zone. If you animate the scenario, you can see the sun vector trace a path right through most of the red swath.

  6. Close the Static Legend for NAsset dialog box when you are finished.

You have determined where the most ideal locations would be to aim your sensor boresight under nominal circumstances in order to maximize your tracking of the satellites.

Summary

You inserted into the scenario a Ship object cruising in the Western Pacific Ocean. You enabled an attitude sphere around the ship and aligned the sphere using the ship's body axis. Then, you turned on a sun vector inside the attitude sphere.

You inserted a Sensor object into the scenario and set its field of view to mimic what the ship's pointing sensor can see. You set the boresight solar exclusion angle to ten (10) degrees. The Sensor object won't report any accesses in this area.

Using the Insert STK Objects Tool, you inserted operational GPS satellites into the scenario and automatically grouped them into a Constellation object. Next you inserted an Attitude Coverage object and set the coverage using latitude bounds from 5 to 90 degrees latitude. You constrained the coverage to the sensor's field of view, and used the GPS satellites as your assets.

After computing coverage, you inserted an Attitude Figure of Merit object and set it to use Number of Asset Coverage and computed Minimum. This allowed you to determine the maximum minimum number of satellites your sensor would see when pointing it at various locations in the coverage grid.

Next, you used a Grid Stats report to determine your minimum and maximum values. Using static graphics, you used the minimum and maximum values to visualize colors inside the attitude sphere, which allowed you to determine in which direction to point your sensor to maximize tracking of all the satellites.

Saving your work

Clean up your workspace and close out your scenario.

  1. Close any open windows except for the 2D and 3D Graphics windows.
  2. Save () your work.
  3. Close the scenario when finished.

On your own

Throughout the tutorial, hyperlinks were provided that pointed to in depth information of various subjects. Now's a good time to go back through this tutorial and view that information.