Mars Probe

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.

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 STK Capabilities:

  • STK Pro
  • Astrogator

Problem Statement

Engineers want to make a comparison between two different methods that analyze an approach to Mars. The analysis will be based on an actual mission that took place in December, 1996; the Mars Pathfinder. The first approach to be analyzed is a transfer arc between the Earth and Mars. The second analysis will analyze the mission mid-flight using a heliocentric interplanetary trajectory.

Solution

Using STK's Astrogator capability, model an approach to Mars using two different methods and then compare the results. In the initial setup, build a transfer arc from the Earth to Mars using a Lambert Solver, available with STK 11.6 and newer. This initial model will provide a good solution to the main goal. In the second method, catch Pathfinder mid-flight using the heliocentric interplanetary trajectory based on orbital elements obtained from a NASA website for the Mars Pathfinder mission. Using this data, target an injection into orbit around the planet.

Mars Pathfinder was launched from Earth on December 4, 1996 and landed on Mars on July 4, 1997. In the process of modeling this Mars mission, construct your own Mars Point Mass propagator and make use of STK's multiple 3D Graphics windows feature. Different windows allow you to view the mission from a heliocentric, Earth, and Mars-centered perspective.

What You Will Learn

Upon completion of this tutorial, you will be able to:

  • Create multiple 3D Graphics windows with different views for situational awareness.
  • Use the Lambert Solver.
  • Create a custom transfer arc.
  • Create a heliocentric interplanetary trajectory.

Video Guidance

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

Recreating Pathfinder using Lambert Solver (available with STK 11.6 and newer)

Recreating Pathfinder using Astrogator

Create a New Scenario

  1. Launch STK ().
  2. Click the Create a Scenario () button.
  3. Enter the following in the STK: New Scenario Wizard:
  4. Option Value
    Name Mars_Probe
    Location Default
    Start 4 Dec 1996 00:00:00.000 UTCG
    Stop 1 Mar 1998 00:00:00.00 UTCG
  5. When you finish, click OK .
  6. When the scenario loads, click Save (). A folder with the same name as your scenario is created for you.
  7. In the Save As window, verify the scenario name and location and click Save .

Save Often!

Scenario Basic Time

The scenario analysis period defines the epoch and the start and stop times of your scenario. Scenario animation properties control the animation cycle, animation step definition, and the intervals between refresh updates in the 2D and 3D windows.

  1. In the Object Browser, open Mars_Probe's () properties ().
  2. Set the Animation Step Size to 1 hr (3600 sec).
  3. Click Apply .

Disable the Subplanet Points and Labels

You'd like to see the planet orbits and not have the subplanet points and labels visible. As a reminder, changes made in 2D Graphics - Global Attributes are also applied to the 3D Graphics window.

  1. Select the 2D Graphics - Global Attributes properties page.
  2. Set the following options in the Planets section:
  3. Option Value
    Show Orbits On
    Show Subplanets Points Off
    Show Subplanet Labels Off
  4. Click OK .

Close the 2D Graphics Window

For this tutorial, the 2D Graphics window is not needed.

  1. Bring the 2D Graphics window to the front.
  2. Click the Close button found in the upper right hand corner of the window.

Insert the Earth

The Planet object models orbital and other properties of a planet, a moon, an asteroid or the sun.

  1. Using the Insert STK Objects tool, insert two Planet () objects using the Insert Default method.
  2. If the Planet () object does not appear in the Insert STK Objects tool, click Edit Preferences... and add it.

  3. In the Object Browser, open Planet1's () properties ().
  4. On the Basic - Definition page, set the Central Body to Earth.
  5. Set the Ephemeris Source to DE440.
  6. Click OK .

Insert Mars

  1. In the Object Browser, open Planet2's () properties ().
  2. On the Basic - Definition page, set the Central Body to Mars.
  3. Set the Ephemeris Source to DE440.
  4. Click OK .

Create Pathfinder

The Satellite object models the properties and behavior of a vehicle in orbit around a central body.

  1. Using the Insert STK Objects tool, insert a Satellite () object using the Insert Default () method.
  2. In the Object Browser, rename the Satellite () object "Pathfinder".
  3. Open Pathfinder's () properties ().
  4. On the Basic - Orbit page, set the Propagator to Astrogator.
  5. Select the 2D Graphics - Pass page.
  6. Set the Orbit Track - Lead Type to All.
  7. Select the 3D Graphics - Model page.
  8. Locate the Detail Thresholds field.
  9. Slide the Simple Model, Label slider bar to the far right. This moves the Marker, Label, Marker, Point and All slider controls as well.
  10. Click OK to save your changes and close the properties panel.

Pathfinder Mid Flight

Pathfinder is being used for the transfer arc analysis. Pathfinder Mid Flight will be used for the heliocentric interplanetary trajectory analysis.

  1. In the Object Browser, right-click on Pathfinder () and select Copy.
  2. Right-click on Mars_Probe () and select Paste.
  3. Rename Pathfinder1 () "Pathfinder_midflight".

3D Graphics Windows

Next, define three separate 3D Graphics windows:

  • one that gives a wide-angle view of the interplanetary cruise
  • one that shows what's happening in the neighborhood of Mars
  • one that shows what's happening in the neighborhood of Earth

Earth-Centered View

  1. Bring the 3D Graphics window to the front.
  2. Open 3D Graphics 1 - Earth's () properties ().
  3. Select the Grids page.
  4. Select the Ecliptic Coordinates - Show check box.
  5. Select the Window Properties page.
  6. Change the Title: to Earth.
  7. Select the Advanced page.
  8. Set the Max Visible Distance option to 1e+010 km.
  9. Click OK .

Heliocentric View

  1. Extend the View menu on the main toolbar.
  2. Select Duplicate 3D Graphics Window > Earth.
  3. Bring the 3D Graphics 2 - Earth window to the front.
  4. Set the 3D Graphic Window's Central Body () to Sun.
  5. Open the Properties () for the 3D Graphics 2 - Sun window.
  6. Select the Window Properties page.
  7. Change the Title: to Sun.
  8. Select the Advanced page.
  9. Set the Max Visible Distance option to 1e+010 km.
  10. Click OK .

Mars-Centered View

  1. Extend the View menu on the main toolbar.
  2. Select Duplicate 3D Graphics Window - Earth.
  3. Bring the 3D Graphics 3 - Earth window to the front.
  4. Set the 3D Graphic Window's Central Body () to Mars.
  5. Open 3D Graphics 3 - Mars's () properties ().
  6. Select the Window Properties page.
  7. Change the Title: to Mars.
  8. Select the Advanced page.
  9. Set the Max Visible Distance option to 1e+010 km.
  10. Click OK .

Globe Manager

  1. Select the Sun window .
  2. Zoom out and adjust the angle of the view so that the Earth, Mars, and Sun are all visible in the window.
  3. Open Globe Manager by clicking the Globe Manager (Globe Manager button) icon in the Globe Manager Toolbar found at the top of the 3D Graphics Window.
  4. In the Globe Manager window, right-click on the Moon and clear the Label option.

Sun Centered View

Getting to Mars

First you can build the transfer arc using the Lambert Solver from the Component Browser in STK. The Lambert Solver design tool enables you to set initial and final states based on STK objects or central bodies, invoke specialized options to condition departure and arrival conditions, export a sequence based on the Lambert solution, and automate the process with Connect. For this scenario, the Lambert Solver only builds the transfer arc. Later in the scenario, you can define the parking orbit and final orbit of the spacecraft.

Create a custom Transfer Arc

Use the Component Browser to begin designing the transfer trajectory for the mission. The Component Browser is a powerful tool that contains analysis components and allows you to define your own.

  1. Extend the Utilities menu.
  2. Select the Component Browser option.
  3. In the Components list, select Design Tools.
  4. This folder contains the Lambert Solver. This component is uneditable. It is designed to be the standard starting model. You can duplicate this component to create the custom mission.

  5. Click duplicate ().
  6. In the Field Editor window, set the following.
  7. Option Value
    Name: Pathfinder Transfer
    User Comment: Create the transfer solution for Earth to Mars
  8. Click OK .

Design a Transfer Arc

You can begin defining the main central bodies that have an impact on the mission. These bodies are the Sun, Earth, and Mars. First, define the Sun.

  1. Double-click on Pathfinder Transfer to open Design Tools.
  2. Set the following options:
  3. Option Value
    Central Body Sun
    Mode Specify initial and final central bodies
    Initial Epoch 4 Dec 1996 00:00:00.000 UTCG
    Time of Flight 212 day

These properties define the main central body that has the largest gravitational effect, when you want to begin the mission, and how long the transfer is. Using the parameters above you have defined an important component of interplanetary travel. You know from this case that you have a good window to launch. However, for other missions these parameters would have to be considered on a case-by-case basis.

Define the Earth Central Body

You need to go from Earth to Mars and can vary the distance to the planet and how you approach in the Radius and Angle fields.

  1. In the Body to Body - Departure section, set the following:
  2. Option Value
    Body: Earth
    Depart from Circular Orbit: On
    Consider Departure Body's Gravity On
  3. Set the following Arrival options:
  4. Option Value
    Body: Mars
    Radius: 1.5 x Arr. Body Radius
    Angle: 270 deg in Vel. Normal Plane
    Insert into Circular Orbit On

Compute and Create a Mission Control Sequence

With Astrogator, users can design a mission in segments in a step-by-step manner. Using the Lambert Solver, you can have Astrogator design the mission control sequence for you.

  1. Above the Solutions section, click Compute .
  2. This calculates the solution with an initial low fidelity model. In this initial computation it uses the gravity of the Sun to model the trajectory of the spacecraft.

  3. In the Solutions section, notice the Body to body solution of the model. Review the data. The time of flight value matches the value defined earlier in your setup.

Define the Propagator

At the bottom of the Design Tools panel there is a section to design how you further analyze the mission. There is a message that says, "Propagator Requires Departure Body's Gravity". This indicates what type of propagator you should consider for the next stage in the analysis: you want to take into account the gravitational effects of Earth, which is the departing body. Remember, the Lambert Solver uses a low fidelity model in the initial calculation; however, you can increase that fidelity with one of the advanced propagators built into STK.

  1. Set the following for the Propagation:
  2. Option Value
    Propagator for Sequence: Earth HPOP Default v10
    Name for Sequence: Pathfinder Transfer Arc
  3. Click Construct Sequence . This builds the Mission Control Sequence.
  4. Once the sequence has been constructed, you can take a look at what Astrogator built for you. Click Edit Segments... . This opens the Edit Segments window and displays what Astrogator built.
  5. In the list of segments you should see an Initial State. This is the initial position of spacecraft before the thrust. Expand the Target Sequence. Inside you should see a Maneuver, Propagate, and a final Maneuver1. Note that the propagate segment is using the HPOP propagator, this is what we set in the design tools panel. Also take a look at each maneuver segment. Each segment has initial values that can be used in your calculations.

  6. When finished, click OK to close the Edit Segments window.
  7. Click Add to MCS Segments . This adds the custom sequence to the list of segments you can insert into the Mission Control Sequence (MCS) of your satellite.
  8. Click OK to close the Design Tools.
  9. Click Close to close the Component Browser.

Model the Transfer Arc of the Spacecraft's Mission

  1. Open Pathfinder's () properties ().
  2. Inside the MCS, remove () the default initial state and propagate segments.
  3. In the MCS toolbar, click the Insert Segment After () button.
  4. From the list select Pathfinder Transfer Arc ().
  5. Click OK .
  6. In the MCS, select the Target Sequence ().
  7. Change the Action: to Run active profiles. This allows STK to iterate and calculate a new solution using the HPOP propagator.
  8. Click the Run Entire Mission Control Sequence () button.
  9. Examine the 3D Graphics windows. You should see a trajectory from the Earth as it approaches Mars. However, note you only modeled the transfer, not the starting orbit nor the final orbit. Model those next.

Differential Corrector Finished View

Model the Orbit Backward and Forward

You built the transfer orbit from Earth to Mars, now you can model the initial orbit and the final parking orbit.

  1. Return to Pathfinder's () properties ().
  2. In the MCS, right-click on Pathfinder Transfer Arc () and select Insert Before.
  3. In the Segment Selection window, select Backward Sequence ().
  4. Click OK .
  5. Under Pathfinder Transfer Arc (), right-click on Initial State () and select Copy.
  6. Right click on backwards Sequence () and select Paste After. You are copying this initial state so that you have the same parameters for the beginning of the mission.
  7. Using your left mouse button, drag and drop the new Initial State () so that it is nested inside of backwards Sequence ().
  8. Rename the new Initial State "backwards Initial State"
  9. Right click on backwards Initial State and select Insert After.
  10. In the Segment Selection window, select Propagate.
  11. Click OK .
  12. Right click on the new Propagate () segment and select properties.
  13. Set the Name: to backwards Propagate.
  14. Make the color different from the Propagate () segment inside of Pathfinder Transfer Arc's Target Sequence segment.
  15. Click OK .
  16. Mission Control Sequence View

  17. In the MCS, select Backward Sequence ().
  18. Click the Run Entire Mission Control Sequence () button.

You have established an orbit around Earth which can be viewed in the Earth window.

Create a Mars Point Mass Propagator

You are almost ready to drop into orbit around Mars. First you need to create a propagator that uses Mars as the central body.

  1. Extend the Utilities menu.
  2. Select the Component Browser.
  3. In the Components list, select Propagators.
  4. In the propagators list on the right, select Earth Point Mass.
  5. Click duplicate ().
  6. Rename the copy Mars Point Mass.
  7. Click OK .
  8. Double-click Mars Point Mass.
  9. In the Propagators window, set the Central Body to Mars.
  10. Click OK to close the Propagators window .
  11. Close the Component Browser.

Propagating the Orbit

You can model the injection into Mars orbit by using the newly created propagator to model the final orbit.

  1. Return to Pathfinder's () properties ().
  2. In the MCS, right click on Pathfinder Transfer Arc () and select Insert After.
  3. In the Segment Selection window, select Propagate ().
  4. Click OK .
  5. Final MCS View

  6. Use the default duration stopping condition (this will model the orbit for a period of .5 days)
  7. Change the Propagator to Mars Point Mass (the component you created).
  8. Click Apply.
  9. Click the Run Entire Mission Control Sequence button ().
  10. Click OK to close the satellite's properties.
  11. Examine the Mars and Earth windows.

You should see the complete mission, from the initial orbit around Earth, to the transfer solution, and the final parking orbit around Mars. View the different 3D graphics windows to understand the components you've built.

Earth and Mars Views of the Transfer Arc

You have completed one approach to replicate the Pathfinder mission, you used known launch and arrival dates to model the mission. In this next stage, you can use position data from NASA and model where you know Pathfinder is and the approach to Mars.

Getting to Mars from Mid-flight

In modeling interplanetary missions with Astrogator, you frequently begin with a launch from Earth or by defining a geocentric parking orbit. In this exercise, you can pull position data from NASA and start with a "snapshot" of the spacecraft in mid-mission.

Defining the Initial State

From archived data, you know where Pathfinder was and when. You have gathered its position data in the heliocentric frame and can enter those in the initial state of the satellite. The heliocentric orbital elements you'll use here define the size, shape, and orientation of the Mars Pathfinder's interplanetary trajectory as of March 1, 1997. At that time, Pathfinder had been underway for about three months. You are catching the position information sometime in the middle of Pathfinder's flight.

  1. Open the Pathfinder_midflight's () properties ().
  2. On the Basic - Orbit page, click the ellipsis () button beside the Coord. System field.
  3. In the Select Reference window, in the object window on the left, select Sun.
  4. In the Systems for: window on the right, select J2000 as the Coordinate System.
  5. Click OK .
  6. Select Keplerian as the Coordinate Type.
  7. Set the Orbit Epoch to 1 Mar 1997 00:00:00.000 UTCG.
  8. Enter the following orbital elements:
  9. Element Value
    Semi-major Axis 193216365.381 km
    Eccentricity 0.236386
    Inclination: 23.455 deg
    Right Asc. of Asc. Node 0.258 deg
    Argument of Periapsis: 71.347 deg
    True Anomaly 85.152 deg
  10. Click Apply .

Propagating the Interplanetary Trajectory

With the initial state defined, you can model the behavior of the satellite as it propagates forward in time.

  1. In the MCS, select Propagate ().
  2. Change the Propagator: to Heliocentric.
  3. Click Advanced... .
  4. Clear the Maximum Propagation Time check box.
  5. Click OK .
  6. In the Stopping Conditions field, click New ().
  7. In the New Stopping Condition window, select Periapsis.
  8. Click OK .
  9. Delete () Duration.
  10. Click the Central Body: ellipses () button.
  11. In the Select CentralBody window, select Sun.
  12. Click OK .
  13. Click Apply .
  14. You are using a heliocentric propagator and defining periapsis with reference to the Sun because the spacecraft is in the heliocentric transfer phase of the interplanetary voyage, where the predominant gravitational force is that of the Sun.

  15. Click the Run Entire Mission Control Sequence () button.
  16. Bring the Sun window to the front.
  17. In the Object Browser, disable Pathfinder.
  18. The Sun View shows that the spacecraft's trajectory intersects the orbit of Mars:

    Mars Orbit Intersect

  19. Bring the Mars window to the front.

The Mars window shows that your spacecraft comes very close to Mars; it comes so close that its trajectory curves under the influence of Mars' gravity. Click Orient from Top () and zoom out to get a good view:

Gravitational Effect on Probe

Now change the perspective to a "side view" (i.e., about 0 deg center latitude). You'll see that your spacecraft's trajectory is substantially coplanar with the orbit of Mars.

Stopping Near Mars

Your objective is not to shoot past Mars but to stop there and drop into orbit. The following steps provide one way to accomplish that goal.

  1. Return to Pathfinder_midflight's () properties ().
  2. In the MCS, select Propagate ().
  3. Select the Central Body: ellipses () button.
  4. Inside the Select CentralBody window, select Mars.
  5. Click OK .
  6. Click Apply .
  7. You're still using periapsis as the stopping condition, but defining it with reference to Mars rather than the Sun.

  8. Click the Run Entire Mission Control Sequence () button.
  9. Bring the Mars window to the front. You'll see that the spacecraft stops quite close to Mars.
  10. Return to Pathfinder_midflight's () properties ().
  11. In the Basic - Orbit page, double-click on the Propagate () segment to open its properties window.
  12. Click the Coord. System: ellipses () button.
  13. In the Select Reference window's Object list, expand the Secondary Central Bodies folder and select Mars.
  14. In the Systems for: list, select Inertial.
  15. Click OK to close the Select Reference window.
  16. Click OK to close the Edit Segment window.
  17. Click Apply .

Create a Maneuver Summary

  1. In the MCS tool bar, click the Summary icon ().
  2. Near the top of the summary, look at the date under 'Stopping Condition Information'. Recall that the Pathfinder probe landed on Mars on July 4, 1997.
  3. Scroll down to the entry for Altitude: the spacecraft comes roughly within 1776 km of the Martian surface.
  4. Close the summary report.

Targeting a Circular Orbit

  1. In the MCS, right-click on the Propagate () segment and select Insert After.
  2. In the Segment Selection list, select Target Sequence.
  3. Click OK .
  4. In the MCS, right-click on the Target Sequence and select Insert After.
  5. In the Segment Selection list, select Maneuver.
  6. Click OK .
  7. Use your left mouse button to nest Maneuver () inside the Target Sequence ().
  8. Make certain that Maneuver Type is set to Impulsive, and set Attitude Control to Thrust Vector.
  9. Set the Thrust Axes: to VNC(Mars).
  10. Make sure Cartesian is selected.
  11. Target () the X and Z components by clicking the small targets.
  12. Click Apply .

Set the Dependent Variable

  1. Click Results... located below the MCS.
  2. Expand the Keplerian Elems directory.
  3. Move () Eccentricity as the sole dependent variable.
  4. In the Component Details field, double click CentralBody.
  5. In the Component Selection window, select Mars.
  6. Click OK to close the Component Selection window.
  7. Click OK to close the Results window.
  8. In the MCS, select the Target Sequence ().
  9. In the Profiles field, open the Differential Corrector's properties ().
  10. When the Differential Corrector's properties open, in the Control Parameters field, select the Use check box for both Control Parameters (independent variables):
    • ImpulsiveMnvr.Pointing.Cartesian.X
    • ImpulsiveMnvr.Pointing.Cartesian.Z
  11. In the Equality Constraints (Results) field, select the Use check box for Eccentricity (the dependent variable).
  12. Leave the Desired Value for Eccentricity at its default value of zero, but change Tolerance to 0.01.
  13. Click OK to close the Properties window for the Profile.
  14. Set the Action to Run active profiles.
  15. Click Apply .
  16. Click the Run Entire Mission Control Sequence () button.

Propagating the Orbit

  1. In the MCS, right-click on Target Sequence () and select Insert After.
  2. In the Segment Selection list, select Propagate ().
  3. Click OK .
  4. In the Stopping Conditions field, click New ().
  5. In the New Stopping Condition list, select Periapsis.
  6. Click OK .
  7. Delete () Duration from the Stopping Conditions list.
  8. Click the Central Body ellipsis () button.
  9. In the Select CentralBody list, select Mars.
  10. Click OK .
  11. Enter a Repeat Count of 2 (to ensure that the spacecraft completes at least one full orbit pass).
  12. Change the Propagator to Mars Point Mass (the component you created).
  13. Click OK .
  14. Click the Run Entire Mission Control Sequence () button.
  15. Bring the Mars window to the front.

Heliocentric Orbit Complete

If you use the mouse to adjust the perspective, you'll see that your spacecraft has entered into a circular orbit around Mars.

Summary

Now that you have completed both approaches to Mars, take a look at their similarities and differences. Using the time of flight of Pathfinder and the Lambert Solver you were able to model your initial trajectory to Mars. You used a simplified solution and modeled the injection into orbit. You did not specify any parameters for how you entered orbit, and you assumed a circular orbit. In your second method, you knew Pathfinder's location at some point in time and walked through the steps of targeting specific parameters to approach Mars and inject Pathfinder into an orbit. Both methods focused on the same goal, but used two different approaches from Astrogator to get there.

Any sequences made in the Lambert solver are saved in the scenario directory, C:\...\Mars_Probe\Astrogator\Design_Tools. For users interested in reusing built components, they can copy their sequence from this directory and save it to the C:\...\STK 12\Config\Astrogator\MCS_Segments directory. This is available to any other scenarios the user builds in STK.

Save Your Work

  1. When finished, Reset () the scenario and close any reports or tools that are still open.
  2. Save () your work.