Sun sensor

On this page 7

A sun sensor is an optical instrument that measures the direction of the Sun relative to the spacecraft body, expressed as one or two angles or as a unit vector. In space technology it is one of the most common attitude sensors among spacecraft systems, because the Sun is bright, nearly a point source and easy to detect from almost any orbit.

Sun sensors feed the attitude determination and control system, where their measurements are combined with magnetometers, gyroscopes and star trackers. They are valued for simplicity, low mass and high reliability, and they are often the sensor that keeps a vehicle alive in safe mode, when the priority is pointing the solar array at the Sun rather than achieving fine accuracy.

How a sun sensor measures the Sun direction

A sun sensor converts incident sunlight into an electrical signal whose value depends on the angle between the Sun line and the sensor boresight. The simplest physical principle is the cosine law: a flat photocell produces a current roughly proportional to the cosine of the incidence angle, so the output falls as the Sun moves away from the normal.

More precise designs use geometric masking. A slit, pinhole or patterned aperture casts a spot or line of light onto a detector below it, and the position of that spot encodes the Sun angle. Detectors include quadrant photodiodes, position-sensitive diodes, linear CCD or CMOS arrays and two-dimensional active pixel sensors. Processing electronics then compute the angles, apply calibration tables and report a Sun vector to the flight software.

Every sensor has a field of view and a validity check. When the Sun leaves the field of view or the spacecraft enters eclipse, the signal drops below a threshold and the sensor reports no valid measurement, which the attitude estimator must handle explicitly.

Types of sun sensors and their performance

Sun sensors fall into three broad classes: coarse analog sensors, fine analog sensors and digital sensors. They differ mainly in accuracy, field of view, complexity and cost, and a single spacecraft often carries more than one class.

Sensor classOperating principleTypical accuracyTypical field of view
Coarse sun sensorCosine response of single photocells1° to 5°Hemispherical, near 180°
Fine analog sensorQuadrant or position-sensitive diode under a mask0.1° to 0.5°About 60° to 120° cone
Digital sun sensorPixel array reading a slit or aperture pattern0.01° to 0.1°About 60° to 130° cone
Sun presence detectorThreshold photodiodeBinary onlyNarrow or wide, per design
Main sun sensor classes and typical characteristics

Coarse sun sensors are usually mounted in clusters of six or more on different faces so that the Sun is always visible to several cells. Their outputs, combined, give a full-sky Sun vector with a few degrees of error. Digital sun sensors reach arcminute or better accuracy because the pattern on the detector is measured with sub-pixel interpolation, but they need more power, a processor and careful calibration.

Key parameters that a mission engineer compares are summarized below. The values are typical ranges for flight hardware and depend strongly on the vendor, the detector and the calibration effort.

ParameterTypical rangeWhat it affects
Accuracy (3σ)0.01° to 5°Quality of the attitude estimate
Field of view60° cone to full hemisphereNumber of sensors needed for coverage
Update rate1 Hz to 50 HzControl loop bandwidth
MassA few grams to about 500 gPlatform budget, especially on CubeSats
PowerZero (passive cells) to about 1 WPower budget and thermal design
Parameters that define sun sensor performance

Sun sensors among other attitude sensors

A sun sensor provides one reference vector, and one vector cannot fix three-axis attitude on its own, because rotation about the Sun line remains unobserved. Attitude determination therefore pairs it with a second vector, typically the Earth magnetic field measured by a magnetometer or the nadir direction from an Earth horizon sensor, and solves the problem with methods such as TRIAD, QUEST or a Kalman filter.

The comparison below shows why sun sensors coexist with, rather than compete with, the star tracker and other instruments in the same topic area.

SensorReference measuredTypical accuracyMain limitation
Sun sensorSun direction0.01° to 5°Blind in eclipse, one axis unobserved
Star trackerFull inertial attitudeAbout 0.001° to 0.01°Blinded by the Sun, Earth or Moon
MagnetometerLocal magnetic field vector0.5° to 5°Field model errors, useful mainly in low orbit
Earth horizon sensorNadir direction0.05° to 1°Depends on orbit altitude and Earth limb
GyroscopeAngular rateDrift of 0.001 to 1 deg/hNeeds absolute updates to limit drift
Sun sensor compared with other attitude sensors

In practice the star tracker delivers the fine attitude, while sun sensors protect it: their wide field of view tells the flight software where the Sun is, so sensitive optics are never pointed toward it. This complementary role is why even high-end science missions still fly coarse sun sensors.

Placement, calibration and use in safe mode

Sensor placement is decided by coverage analysis: engineers model the spacecraft geometry, the orbit and expected attitudes to confirm that the Sun is seen by at least one valid sensor in every non-eclipse condition. Structures such as solar arrays, antennas and radiators can shadow a sensor or reflect sunlight into it, so placement and baffling are verified with ray-tracing tools.

Calibration maps raw detector outputs to angles. Ground calibration uses a solar simulator and a precision rotary table, while in-flight calibration compares sun sensor readings with star tracker attitude to estimate alignment errors and scale factors. Misalignment between the sensor frame and the body frame is often the largest error source, larger than detector noise.

In safe mode, the control system usually ignores fine sensors and performs a Sun acquisition maneuver using coarse sun sensors and gyroscopes or magnetometers. The goal is to point the solar array normal toward the Sun and hold it there with a slow spin or rate damping, which secures power and thermal stability until ground operators diagnose the fault.

Mission situationRecommended sensor setupReason
Low-cost CubeSatCoarse cells on each faceMinimal mass, power and cost
Earth observation satelliteCoarse cluster plus digital sensorRobust safe mode and fine Sun reference
Deep space probeDigital sensors with redundancyStar tracker protection and fault tolerance
Spin-stabilized satelliteSlit sensors timing Sun crossingsMeasures spin phase and Sun aspect angle
Choosing a sun sensor for a mission

Limitations and common error sources

Sun sensors are robust, but several effects degrade them, and experienced designers budget for each one explicitly. The most frequent issues are listed below.

  • Albedo interference: sunlight reflected by Earth can add several degrees of error to coarse sensors in low orbit.
  • Eclipse blindness: no measurement exists in the shadow of a planet, so the estimator must rely on gyroscopes or magnetometers.
  • Radiation and ultraviolet aging: detector responsivity and cover glass transmission decline over years, shifting calibration.
  • Temperature sensitivity: photocurrent and dark current vary with temperature and require compensation.
  • Distance from the Sun: on missions to the outer planets the solar flux drops sharply, reducing signal-to-noise ratio.

In simple terms

A sun sensor is a small light detector that tells a spacecraft where the Sun is. It works a bit like turning your face toward a warm window with your eyes closed: you can feel which direction the light comes from, even without seeing details.

Knowing the Sun direction helps the spacecraft keep its solar panels charged and avoid pointing delicate cameras at the Sun. It is not precise enough to aim a telescope by itself, so it works together with other sensors. The key point is that it is simple, cheap and very dependable, which makes it the sensor a spacecraft trusts when something goes wrong.

A practical example

Consider a 100 kg Earth observation satellite in a sun-synchronous orbit at about 550 km. It carries six coarse sun sensors, one on each face, and two digital sun sensors with 0.05° accuracy mounted near the solar array, in addition to a star tracker and a three-axis magnetometer.

During a routine pass, a software fault resets the on-board computer and the satellite enters safe mode. The flight software discards the star tracker and uses the coarse sensors and magnetometer to find the Sun, which takes about 20 minutes including rate damping. Once the solar array faces the Sun within a few degrees, battery charge stabilizes.

Operators then upload a fix, and the digital sun sensors help the star tracker reacquire attitude without risking a Sun intrusion in its field of view. The outcome is that the satellite recovers within one day with no hardware damage, because a simple sensor kept it powered while engineers worked.