Difference between revisions of "SAS"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
(+restored some parts from the previous version;)
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{About|the SAS since 0.21|the SAS in the [[demo]]|Stability Augmentation System (Demo)}}
+
{{About|the SAS since 0.21|SAS in the [[demo]]|Stability Augmentation System (Demo)}}
  
The '''Stability Augmentation System''' (abbr. '''SAS''') is an automatic flight control system that employs various sources of torque, including [[reaction wheel]]s, to control the current rotation of a spacecraft. All [[command module]]s, with the exception of the [[EAS-1 External Command Seat]], include SAS capabilities. It is also available in dedicated SAS modules.
+
'''SAS''' is an automated [[craft]] stabilizing/orienting system. There are varied official descriptions of what “SAS” (or “S.A.S.”) stands for, including '''Stability Augmentation System''', '''Stability Assist (System)''', '''Sickness Avoidance Scheme''', and '''Sickness Avoidance Solution'''. Most often, it's simply called by its acronym.
  
Prior to {{version|0.21}} there was a distinction between SAS and ASAS. While the previous ASAS acted like the new SAS, the previous SAS acted like new reaction wheels.
+
Prior to {{version|0.21}} there was a distinction between “SAS” and “ASAS” (Advanced S.A.S.). The old SAS was the "dumb" system providing torque but no automatic course correction while ASAS provided both as the "smart" system. After 0.21, SAS and ASAS were used interchangeably, and later the term “ASAS” largely ceased to be used.
+
 
== Effect ==
+
== Usage ==
When the craft is equipped with at least one SAS unit, it can utilize this unit to dampen the rotation and finally lock onto a specific orientation. This system will utilize all available control systems, like the user would with pressing the keys:
+
SAS is an automatic system toggled on or off during flight.
 +
 
 +
For SAS to be available at all in career mode, the craft must include an unmanned pod (probe core) with SAS capability or, since {{version|0.90.0}}, a pilot. All robotic [[command module]]s except the [[Stayputnik Mk. 1]] have (varying) SAS capabilities. At least one [[kerbonaut]] manning a command module must have the Pilot specialization to use SAS. In [[Sandbox]] mode there is no restriction on SAS.
 +
 
 +
When active, SAS will provide input to stability systems to dampen craft rotation and, depending on capabilities, lock onto a specific orientation. The user can override the current rotation for any [[axis]]. Since it controls heading, it can be extremely useful for lander missions. When active, the SAS itself doesn't drain [[Electric charge|electricity]], though reaction wheels may continue fine-tuning even in space. It will utilize all active control systems to achieve this, like the user would by pressing the keys.
 
* Torque supplied by [[reaction wheel]]s
 
* Torque supplied by [[reaction wheel]]s
* Gimbaling of [[engine]]s
+
* [[Control surface]]s (only effective in [[atmosphere]])
* [[Control surface]]s
 
 
* [[RCS]], if activated
 
* [[RCS]], if activated
 +
* [[Engine]]s' [[gimbal]]ing, if throttled up
  
It will first dampen the rotation and reaching a specific value and then will try to lock onto its current orientation. The user can override the current rotation for any [[axis]]. Since it controls heading, it can be extremely useful for lander missions.
+
=== Controls ===
 +
The system can be toggled with (by default) the {{Key press|T}} key and temporarily switched by holding down the {{Key press|F}} key (for example, if SAS is on, holding F will turn it off, and releasing F will turn it back on). The current state of the SAS system is shown by a blue light on the [[navball]].
  
== Control ==
+
While SAS is turned on, if any capabilities are available beyond stability assist, a [[direction selector]] will appear to the left of the navball. If only "stability assistance" is available, no selectors will appear. By default "stability assistance" is selected and stabilizes on the current heading. But the user can select other vectors depending on the capabilities of the probe core/pilot such as prograde, retrograde, normal, antinormal, radially in/out, and target prograde/retrograde. Pilot kerbonauts have a levelled progression of directions they can point toward.
The system can be turned on and off with the T key and temporarily invert the state by holding the F key (for example, if SAS is on, holding F will turn it off, and releasing F will turn it back on). The current state of the SAS system is shown by a blue light on the [[navball]].
+
 
 +
Beware, having SAS activated while deploying a [[parachute]] may cause the parachute to rip off due to the SAS attempting to stabilize the craft's sudden rotation to orient in the wind.
 +
 
 +
== Construction ==
 +
Placement should be considered while building craft in the [[editor]]. Though manned command modules will tend to be at the front of the craft for visibility in [[IVA]], SAS modules in general are best placed close to the [[center of mass]], especially those with more torque.
 +
{{quote|The placement does matter for [[reaction wheel]]s. Generally speaking they can cause some problems if placed far from the [[center of mass]]. Imagine you are grabbing that point and rotating it. That is what the reaction wheels will try to do. You'll get offcenter rotation anywhere other then near the [[Center of mass|COM]].|[http://forum.kerbalspaceprogram.com/entries/740-Updated-Information-on-SAS-in-0-21-1#comment_4254 comment] by C7, in his blog entry “[http://forum.kerbalspaceprogram.com/entries/740-Updated-Information-on-SAS-in-0-21-1 Updated Information on SAS in 0.21.1]”}}
 +
 
 +
=== SAS capabilities ===
 +
{{Directions available}}
  
 
==Theory==
 
==Theory==
Line 24: Line 37:
 
*''Derivative'' means the S.A.S. module takes the angular acceleration of the ship into account and tries to apply a force against it. So the faster the ship is going "into" the spin, the harder the S.A.S. module tries to stop it. This is supposed to dampen the action of the S.A.S module and prevent overshoot, as well as dampening any accelerating turn or roll.
 
*''Derivative'' means the S.A.S. module takes the angular acceleration of the ship into account and tries to apply a force against it. So the faster the ship is going "into" the spin, the harder the S.A.S. module tries to stop it. This is supposed to dampen the action of the S.A.S module and prevent overshoot, as well as dampening any accelerating turn or roll.
  
The SAS functionality found within command modules and standard SAS units use only PD, with no I, and thus do not lock the heading of the vessel.
+
The PID control is applied to the vessel's rotational velocity '''at the command point'''. This means that large rockets that tend to wobble out of control during flight do so because the SAS sees the tip (where the command module usually is) rotating and assumes the entire vessel is spinning this fast. For this reason, "wobble" can be largely eliminated by controlling the vessel as close to the CG as possible. This can be accomplished by placing a [[command module]] or [[docking port]] in the middle of the rocket. Right click the unit and select "Control From Here" to change the control point. If you end up controlling the "dead" end of the rocket after stage separation, simply press the "[" or "]" keys to select the appropriate section.
 
 
The PID control is applied to the vessel's rotational velocity '''at the command point'''. This means that large rockets that tend to wobble out of control during flight do so because the SAS sees the tip (where the command module usually is) rotating and assumes the entire vessel is spinning this fast. For this reason, "wobble" can be largely eliminated by controlling the vessel as close to the CG as possible. This can be accomplished by placing a [[Command_Module|command module]] or [[Parts#Docking|docking port]] in the middle of the rocket. Right click the unit and select "Control From Here" to change the control point. If you end up controlling the "dead" end of the rocket after stage separation, simply press the "[" or "]" keys to select the appropriate section.
 
 
 
[[Advanced S.A.S Module|Advanced S.A.S]] does not produce torque itself (or if it does, the forces are small); all it does is alter the PID values.
 
 
 
== SAS Parts ==
 
SAS has 4 dedicated parts as well as being included in all Command Pods and Probe bodies.
 
===Dedicated Units===
 
{{Stats Table SAS}}
 
===Command modules===
 
{{Stats Table Command Pods|sas=Yes}}
 
  
 
== See also ==
 
== See also ==

Latest revision as of 10:18, 30 April 2015

This article is about the SAS since 0.21. For the SAS in the demo, see Stability Augmentation System (Demo).

SAS is an automated craft stabilizing/orienting system. There are varied official descriptions of what “SAS” (or “S.A.S.”) stands for, including Stability Augmentation System, Stability Assist (System), Sickness Avoidance Scheme, and Sickness Avoidance Solution. Most often, it's simply called by its acronym.

Prior to version 0.21 there was a distinction between “SAS” and “ASAS” (Advanced S.A.S.). The old SAS was the "dumb" system providing torque but no automatic course correction while ASAS provided both as the "smart" system. After 0.21, SAS and ASAS were used interchangeably, and later the term “ASAS” largely ceased to be used.

Usage

SAS is an automatic system toggled on or off during flight.

For SAS to be available at all in career mode, the craft must include an unmanned pod (probe core) with SAS capability or, since version 0.90.0, a pilot. All robotic command modules except the Stayputnik Mk. 1 have (varying) SAS capabilities. At least one kerbonaut manning a command module must have the Pilot specialization to use SAS. In Sandbox mode there is no restriction on SAS.

When active, SAS will provide input to stability systems to dampen craft rotation and, depending on capabilities, lock onto a specific orientation. The user can override the current rotation for any axis. Since it controls heading, it can be extremely useful for lander missions. When active, the SAS itself doesn't drain electricity, though reaction wheels may continue fine-tuning even in space. It will utilize all active control systems to achieve this, like the user would by pressing the keys.

Controls

The system can be toggled with (by default) the T key and temporarily switched by holding down the F key (for example, if SAS is on, holding F will turn it off, and releasing F will turn it back on). The current state of the SAS system is shown by a blue light on the navball.

While SAS is turned on, if any capabilities are available beyond stability assist, a direction selector will appear to the left of the navball. If only "stability assistance" is available, no selectors will appear. By default "stability assistance" is selected and stabilizes on the current heading. But the user can select other vectors depending on the capabilities of the probe core/pilot such as prograde, retrograde, normal, antinormal, radially in/out, and target prograde/retrograde. Pilot kerbonauts have a levelled progression of directions they can point toward.

Beware, having SAS activated while deploying a parachute may cause the parachute to rip off due to the SAS attempting to stabilize the craft's sudden rotation to orient in the wind.

Construction

Placement should be considered while building craft in the editor. Though manned command modules will tend to be at the front of the craft for visibility in IVA, SAS modules in general are best placed close to the center of mass, especially those with more torque.

The placement does matter for reaction wheels. Generally speaking they can cause some problems if placed far from the center of mass. Imagine you are grabbing that point and rotating it. That is what the reaction wheels will try to do. You'll get offcenter rotation anywhere other then near the COM.

comment by C7, in his blog entry “Updated Information on SAS in 0.21.1

SAS capabilities

Name Cost SAS level & capabilities
0 1 2 3
Stability
Assist
(Level)
Prograde/
Retrograde
(Prograde/Retrograde)
Normal/Radial
Hold
(Normal/Anti-normal)
Target
Tracking
(Target prograde/Target retrograde)
Maneuver
(Maneuver prograde)
Probodobodyne RoveMate 800 Funds Yes No No No No
Probodobodyne Stayputnik 300 Funds No No No No No
Probodobodyne QBE 360 Funds Yes No No No No
Probodobodyne HECS 650 Funds Yes Yes No No No
Probodobodyne OKTO 450 Funds Yes No No No No
Probodobodyne OKTO2 1 480 Funds Yes Yes Yes No No
Probodobodyne HECS2 7 500 Funds Yes Yes Yes Yes Yes
RC-001S Remote Guidance Unit 2 250 Funds Yes Yes Yes Yes Yes
RC-L01 Remote Guidance Unit 3 400 Funds Yes Yes Yes Yes Yes
MK2 Drone Core 2 700 Funds Yes Yes Yes Yes Yes
MPO Probe 9 900 Funds Yes Yes Yes Yes Yes
MTM Stage 21 500 Funds Yes Yes Yes No No
CH-J3 Fly-By-Wire Avionics Hub[Note 1] 5 200 Funds Yes Yes Yes Yes Yes
Pilot level 0 0 XP Yes No No No No
Pilot level 1 2 XP Yes Yes No No No
Pilot level 2 8 XP Yes Yes Yes No No
Pilot level 3 16 XP Yes Yes Yes Yes Yes
Pilot level 4 32 XP Yes Yes Yes Yes Yes
Pilot level 5 64 XP Yes Yes Yes Yes Yes
  1. dedicated SAS units don't work without command modules


Theory

The S.A.S. modules use a P.I.D. system, which stands for “Proportional, Integral, Derivative”. The PID is applied to the vessel's angular velocity, not its heading.

  • Proportional means the S.A.S. module applies a turning-force that is proportional to the speed of rotation. In other words, the faster the ship is spinning, the harder the module tries to correct the spin.
  • Integral means the S.A.S. module increases the corrective force the longer the ship is off-target. Since the integral of speed is position, this corrects the vessel's heading (angle is the integral of angular velocity). Since the summed integral value is set to zero when SAS is turned on, the controller will attempt to lock the vessel's heading to whatever it was when SAS was turned on.
  • Derivative means the S.A.S. module takes the angular acceleration of the ship into account and tries to apply a force against it. So the faster the ship is going "into" the spin, the harder the S.A.S. module tries to stop it. This is supposed to dampen the action of the S.A.S module and prevent overshoot, as well as dampening any accelerating turn or roll.

The PID control is applied to the vessel's rotational velocity at the command point. This means that large rockets that tend to wobble out of control during flight do so because the SAS sees the tip (where the command module usually is) rotating and assumes the entire vessel is spinning this fast. For this reason, "wobble" can be largely eliminated by controlling the vessel as close to the CG as possible. This can be accomplished by placing a command module or docking port in the middle of the rocket. Right click the unit and select "Control From Here" to change the control point. If you end up controlling the "dead" end of the rocket after stage separation, simply press the "[" or "]" keys to select the appropriate section.

See also