Sensors |
Top Previous Next |
A Sensor object can be attached to a Spacecraft or GroundVehicle to evaluate contact times to other Spacecraft, GroundVehicles, GroundStations, Planets, Stars, etc, with respect to the sensor's field of view (FOV). FreeFlyer's Sensor object can be used to model earth sensors, sun sensors, antennas, star trackers or any other instrument with a position, orientation, and field of view.
The FOV of a sensor can be defined as either a cone, a rectangle (slit), or as a series of azimuth and elevation angles (custom mask). An obscuration mask can also be applied to model any blockages in the sensor, such as a solar panel or another instrument that obscures part of the sensor's FOV. The masking is defined by a series of azimuth and elevation angles.
Defining the SensorSensor ShapeThe field of view of a sensor can be defined three ways:
Sensor OrientationThe orientation (pointing) of a Sensor boresight can be defined four ways:
Defining ObscurationsAn obscuration mask can also be applied to each sensor to model any blockages of the FOV. Obscurations can be anything that may block the view of the sensor such as solar arrays, other instruments, or even the Spacecraft body. The obscuration's shape can be configured as a cone, rectangle, or a custom shape. The orientation of the obscuration can be set via a unit vector, Euler angles, a pair of Azimuth-Elevation angles, or an attitude matrix (DCM). Sensor PositionThe Sensor position is defined by x, y, z vector components in the BCS with origin at the Spacecraft Body Center. Sensor VisualizationThe sensor can be any color. The length of the sensor in the 3D View is defined by the Projection Height in units of kilometers.
The example below displays a sensor created through the Object Editor, with a linear fit connecting the specified azimuth-elevation points, and an obscuration blocking part of its FOV.
Custom Sensor with Obscuration Mask
Sensor ViewsSensor Views allow users to configure an output window displaying the desired objects in a view looking down the boresight of a Sensor. In the image below, a Sensor View is used to visually confirm access to a Region on the Earth, shown in yellow.
3D Sensor View
Example 1: Cone SensorTo add a Sensor to a Spacecraft via FreeFlyer script, use the Spacecraft.AddSensor() method. You can also use the Attach command. In this example, the cone half angle, display color, and pointing angle of "sensor1" are edited.
A Sensor can also be created through the Spacecraft object editor. The next image shows a 45-degree conical FOV sensor (pointing down the Spacecraft X-axis) in the preview window of the object editor.
Cone Sensor with 45-degree half angle
Example 2: Custom SensorThe following example defines two sensors: a rectangular (slit) sensor with a forward angle of 10 degrees, and a side angle of 60 degrees, pointing along the negative y-axis of the spacecraft; and a custom "heart-shaped" sensor defined by a series of 7 Azimuth-Elevation angles.
Spacecraft with two Sensors
Example 3: Determining Visibility from a Sensor The VisibilitySegment.Visibility() method returns a flag that indicates whether there is visibility from an observer to a target. The VisibilitySegment object allows Spacecraft, Sensors, GroundStations or GroundVehicles to be the observer, and Spacecraft, Sensors, GroundStations, GroundVehicles, CelestialObjects, Stars, or PointGroupPoints can be the target. The VisibilitySegment also allows the user to report the azimuth and elevation of the target in the reference frame of the observer. See VisibilityCalculators for more information. For a summary of the coverage and contact output methods in FreeFlyer organized by observer and target object type, see the Contact Method Summary.
Note: As of FreeFlyer 7.3, the default timing precision mode is nanosecond precision mode. For older Mission Plans that have not yet been converted from millisecond precision mode, the syntax for working with times is different. See the timing precision mode page for more information.
See Also•Sensor Properties and Methods •Attach Command •Orbit Determination Sensor Setup
|