Registered users can edit this wiki.

SAS

From Kerbal Space Program Wiki
Jump to: navigation, search
This article is about the SAS since 0.21. For the SAS in the demo, see Stability Augmentation System (Demo).
This page is in need of being brought up to date. Please help Kerbal Space Program Wiki by fixing inaccurate or outdated information. The SAS went through an overhaul and the new features need to be explained here.

SAS is an automated craft stabilizing 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.

Contents

Usage

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

For SAS to be available at all, the craft must include a part with SAS capability and, since version 0.90.0, a pilot. All robotic command modules except the Stayputnik Mk. 1 satisfy both requirements. Most crewed command modules, except the EAS-1 External Command Seat, and also SAS-enabled reaction wheel modules satisfy the capability requirement. 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 finally 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, a direction selector will appear to the left of the navball. By default "stability assistance" is selected and stabilizes on the current heading. But the user can select other vectors 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 Parts

SAS has 3 dedicated parts as well as being included in nearly all manned command modules and all probe cores.

Dedicated Units

Image Part Radial size Cost
(Fund)
Mass
(t)
Drag Max. Temp.
(K)
Tolerance Torque
(kN·m)
Electricity
(⚡/s)
Inline reaction wheel.png
Small Inline Reaction Wheel Tiny 600 0.05 0.2 3 400 9 5 0.25
Inline advanced stabilizer.png
Advanced Inline Stabilizer Small 1 200 0.1 0.2 3 400 9 15 0.45
ASAS large.png
Advanced S.A.S Module, Large Large 2 100 0.2 0.2 3 400 9 30 0.6

Command modules

Image Part Radial size Cost
(Fund)
Mass
(t)
Drag Max. Temp.
(K)
Tolerance Torque
(kN · m)
Required Crew/
Power
Capacity
(⚡)
MK1COCKPIT.png
Mk1 Cockpit Small 2 200
(2 191)
1.28
(1.25)
0.1 3 400 45 10 Crew char.svg 50 ⚡
(+ 7.5 Jerry-can char.svg MP)
Mk2cockpit.png
Mk1 Inline Cockpit Small 1 600
(1 591)
1.03
(1)
0.08 3 400 40 10 Crew char.svg 50 ⚡
(+ 7.5 Jerry-can char.svg MP)
Mk2 Cockpit.png
Mk2 Cockpit Mk2 3 500
(3 482)
2.06
(2)
0.1 3 400 45 15 1 - 2 Crew char.svg 150 ⚡
(+ 15 Jerry-can char.svg MP)
Mk2 Inline Cockpit.png
Mk2 Inline Cockpit Mk2 3 500
(3 470)
2.1
(2)
0.1 3 500 45 15 1 - 2 Crew char.svg 150 ⚡
(+ 25 Jerry-can char.svg MP)
Mk3 Cockpit.png
Mk3 Cockpit Mk3, Small 10 000
(9 880)
3.90
(3.5)
0.1 3 400 60 40/40/20[Note 1] 1 - 4 Crew char.svg 500 ⚡
(+ 100 Jerry-can char.svg MP)
Command Pod Mk1.png
Command Pod Mk1 Small, Tiny 600
(588)
0.84
(0.8)
0.2 3 400 14 5 Crew char.svg 50 ⚡
(+ 10 Jerry-can char.svg MP)
Mk1-2commandpod.png
Mk1-2 Command Pod Large, Small 3 800
(3 767.6)
4.12
(4)
0.2 3 400 45 15 1 - 3 Crew char.svg 150 ⚡
(+ 30 Jerry-can char.svg MP)
LanderCanMK1.png
Mk1 Lander Can Small 1 500
(1 482)
0.66
(0.6)
0.2 3 400 8 3 Crew char.svg 50 ⚡
(+ 15 Jerry-can char.svg MP)
Can.png
Mk2 Lander-can Large 3 250
(3 202)
2.66
(2.5)
0.2 3 400 8 15 1 - 2 Crew char.svg 100 ⚡
(+ 40 Jerry-can char.svg MP)
Cupola.PNG
PPD-12 Cupola Module Large, Small 3 200
(3 188)
1.80
(1.76)
0.4 3 400 8 9 Crew char.svg 200 ⚡
(+ 10 Jerry-can char.svg MP)
Cube1.png
Probodobodyne QBE Tiny 360 0.03 0.15-0.2 3 200 30 1.67 ⚡/min
(100 ⚡/h)
1
Probodobodyne HECS.png
Probodobodyne HECS Tiny 650 0.1 0.2 1 200 12 0.5 1.67 ⚡/min
(100 ⚡/h)
10
Octo.png
Probodobodyne OKTO Tiny 450 0.1 0.15-0.2 1 200 12 0.3 1.67 ⚡/min
(100 ⚡/h)
10
ProbeFlatty.png
Probodobodyne OKTO2 Tiny 1 480 0.04 0.15-0.2 1 200 12 1.67 ⚡/min
(100 ⚡/h)
2
Probestack.png
RC-001S Remote Guidance Unit Small 2 250 0.1 0.2 3 400 9 0.5 3.00 ⚡/min
(180 ⚡/h)
15
Probehuge.png
RC-L01 Remote Guidance Unit Large 3 400 0.5 0.2 3 400 9 2 4.80 ⚡/min
(288 ⚡/h)
30
MK2 Drone Core.png
Mk2 Drone Core Mk2 2 700 0.2 0.2 3 400 20 15/3/3[Note 1] 3.00 ⚡/min
(180 ⚡/h)
250
  1. 1.0 1.1 The exerted torque differ by the given axis, the values are for pitch/yaw/roll directions.



Theory

This page is in need of being brought up to date. Please help Kerbal Space Program Wiki by fixing inaccurate or outdated information.

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